when I am using a multiple select box it is workin ok for a single selection, but not for many selections.
Here is my code for it:
<select name="searchedDirectoryNames" id="selectedDirectories" size = "2" class="normalSelect" multiple>
<option value="About Us">About Us</option>
<option value="News">News</option>
<option value="Registrants">Registrants</option>
</select>
when i select About US, News, and Registrants in that order using the ctrl key it is being interpreted as only About Us being Selected.
even more strangely when i select News, Registrants and then About Us, it is still being interpreted as About Us. so it seems it is taking the top one only in the multiple select case.
i was told on the html forum that i required javascript. would any1 be able to post some example script that would get these multiple values. I take it the values would be in the form of some comma seperated list.
the variable searchDirectoryNames needs to contain the values selected as this is then interpreted by my search engine to determine which directories to search on
any ideas?
thanks
cajchris
Here is my code for it:
<select name="searchedDirectoryNames" id="selectedDirectories" size = "2" class="normalSelect" multiple>
<option value="About Us">About Us</option>
<option value="News">News</option>
<option value="Registrants">Registrants</option>
</select>
when i select About US, News, and Registrants in that order using the ctrl key it is being interpreted as only About Us being Selected.
even more strangely when i select News, Registrants and then About Us, it is still being interpreted as About Us. so it seems it is taking the top one only in the multiple select case.
i was told on the html forum that i required javascript. would any1 be able to post some example script that would get these multiple values. I take it the values would be in the form of some comma seperated list.
the variable searchDirectoryNames needs to contain the values selected as this is then interpreted by my search engine to determine which directories to search on
any ideas?
thanks
cajchris