How can I use forms for pull-down navigation menus?
+1
A:
You could set the value of the option element to the action you want the menu item to perform such as:
<select onchange="return DoAction();">
<option value="http://example.com/Home/">Go Home</option>
</select>
Although I wouldn't recommend using form elements as navigation, some operating systems have inconsistent implementations of things like form-based pull-down menus.
JMP
2009-08-14 15:39:02
i agree with your comments.
Kombucha
2009-08-14 15:45:06
+1 nice answer. @Yonita then vote him up :P
Robert Greiner
2009-08-14 16:00:44