View Single Post
  #3 (permalink)  
Old March 31st, 2005, 05:10 PM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

If you just want to redirect if the box is checked then:
Code:
if (document.fexp.multileg.checked)
{
  window.location = "multileg1.asp";
}
if you want it to submit the form:
Code:
if (document.fexp.multileg.checked)
{
  document.fexp.action = "multileg1.asp";
  document.fexp.submit();
}

--

Joe (Microsoft MVP - XML)
Reply With Quote