Get best price on Unlocked Moto G Stylus | ||||||||||||
|
||||||||||||
|
JavaScript: Select Menu ListMove items from one menu to another by using two multiple-select menus. Make it easy to create a list, for example. I found this useful when creating a distribution list where I had a set of people available on one side and the list on the other. Here is an example:
Note that when you submit the form data to process the list, you need to select all the items you want in the list. Only items marked selected are sent with a form. You can do this using the following code: for (i=0; i<m1.length; i++) { m1.options[i].selected = true; } This will select all of the items in menu1, which will be sent with the form data. Remember, you need to process multiple values being sent with one variable.
|
privacy policy || © 1997-2016. astonishinc.com All Rights Reserved. |