Perhaps have code to add an extra blank option to the list box before you loop through the records to fill the rest of it.
<option value=""></option>
only way to make an empty drop down selection is to use the <option></option> otherwise there is no 'blank' value inthe box for the box to be empty
i guess you could default diable all of the boxes, that way nothing appears, and when the page loads to an onload and undisable them all but that's messy and alot more code than adding one line to each select
You could create a javascript array to hold the options value and text, then when the user clicks the appropriate place call a function to add the options to the drop down based on the contents of that array. Similar to how you link several dropdowns together, but with only a single dropdown and a 1-dimension array.
-Tarwn
01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101 29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Do you know how hot your computer is running at home? I do
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.