javascript - if not checked input then follow -


I tried Google, but nothing could be found about this situation, MB got worse :) Anything, I need to create a form with an input checkbox, when the checkbox is checked, it goes to a link when it is not checked, it adheres to another link. , Because now it's okay here:

  & lt; Form name = "EOL" method = "post" verb = "/ index.cfm? Fusion = objects 2.view_product_list and eol = 1" & gt; EOL Products & lt; Input type = "checkbox" name = "EOL_input" value = "0" & ​​lt; Cfif notdefined ('attributes.eol') & gt; & Lt; Cfelse & gt; Checked & lt; / Cfif> OnClick = "eol.submit ();" & Gt; & Lt; / Form & gt;   

If the checkbox is not checked how can I follow the second link? I think it can be done by jquery, do anyone have any ideas?

Thanks for the help! Click



Comments