Yeah. Embed the form into the menu just like you do it within your web page. There is no difference:)
I have placed a form in one of the drop down menu items and it works perfectly, but when I use the TAB key to switch input form, the menu closes due to accessibility. How to solve it?
Open the ddmenu.js, search for "keydown", you will be located to this sentence:
!G&&m.license.length==6&&p(f,"keydown",ab);
Just delete above sentence to disable the TAB key functions for the menu.
1. Create the <select> element first.
The container for the list is a <select> element. The entire list is encased in the <select></select> pair.
2. Give the select element an ID.
You'll use this ID to refer to the element in code.
3. Add an option element to the select element.
It helps to indent the options to remind yourself that they're part of theselect object.
4. Give each option a value.
The value is the response sent to a program when the user chooses an option. The user will not necessarily see the value.
5. Indicate the text the user will see between the <option> and</option> tags.
This can be different from the value, or the same. (That will make more sense after you do some JavaScript coding.)
6. Add as many options as you want.
Create a new option object for each choice you want to have available in the list.
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Drop Down Menu, click:
Ask new question: Drop Down MenuOtherwise navigate to one of the following forum categories, and post your question there.
##