"I have 4 checkboxes (named box1, box2 , box3 and box4) and I need to send
the user to one page if only boxes 1 and 2 are checked and to another page
if any other combinations are checked."
Now my question: How should the full, working javascript look? (I mean the whole thing starting with <script language="JavaScript"><!-- and ending with //--></script>) ?
JMRKER, thanks for the answer. It is not for my homework, believe it or not for 7 years now I make a living from web publishing. Until now, I just focused on writing content; these are my first steps at actual web development...
I tried to use the script in a JavaScript external file that validates a form. I just pasted it below function validate(form) {
Show the script and HTML, or a link to a live site, so we can see what you are doing.
It does not need to be your entire site, just a sample of the problem you are having with your post.
Difficult to comment on a snippet of code. Any suggestions I might make at this point would be just a SWAG.
Bookmarks