tags:

views:

33

answers:

1

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/"&gt;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
i agree with your comments.
Kombucha
+1 nice answer. @Yonita then vote him up :P
Robert Greiner