drop down automatic selection

hi, how do I make a dropdown menu action as soon as an option is made . I know about using the "onchange" handler but can you help with this I am not sure how to use it....<br />
<br />
onChange="parent.dates.location=options[selectedIndex].value"><br />
<br />
the frame I am trying to action in is called "dates" and the php page is called "dates.php" can anyone help??<br />
please...<!--content-->Try this:<br />
<br />
Not sure whether the syntax for referencing the parent frame is correct, cos I haven't had a chance to test it yet, but the onChange bit is definitely right...<br />
<br />
<SELECT name="changeit" onChange="parent.dates.location=document.formname.listname.options[document.formname.listname.selectedIndex].value"><!--content-->
 
Back
Top