Anyone know how to do this with javascript? I'm trying to avoid
creating two different forms because then changes become that much
harder to manage. Thanks in advance . . .
~ Jon LaRosa
jlarosa at alumni dot brown dot edu
I would like to create 2 links to a form that do the following:
A) one link would open the form with one option of a drop down list
selected
B) the other link would open the same form with a different option of
a drop down list selected
for example, the links:
Click here to search our books
Click here to search our photos
Both links open a search form, library.html, but in one case "books"
is the automatically selected search type and in the other case
"photos" is automatically selected.
I.E. in the first case, we have: <select name="searchTyp e">
<option SELECTED>books</option>
<option>photo s</option>
</select>
and in the second we have: <select name="searchTyp e">
<option>books </option>
<option SELECTED>photos </option>
</select>