Hi,
I have a drop down menu from which the user selects from a predefined number of links. I want to display the link selected by the user, in the textbox found further down the page. E.g. If the user selects the 1st option from the drop down list 'CSSE' then "http://localhost/cocoon/csse/xmldb/collegedb/0801" should be displayed in the textbox. Is there a straightforward method for achieveing this?
Many thanks,
Fred
********Javascript Extract*************
<form action="dummy" method="post">
<p><select name="choice" size="1">
<option value>CHOOSE A STYLESHEET</option>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"http://localhost/cocoon/csse/xmldb/collegedb/0801">CSSE</option>
<option value="http://localhost/cocoon/arts/xmldb/collegedb/0801">ARTS</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/staff/xmldb/collegedb/0801">STAFF</option>
<option value="http://localhost/cocoon/research/xmldb/collegedb/0801">RESEARCH</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/hdipit/xmldb/collegedb/0801">HDipIT</option>
<option value="http://localhost/cocoon/hdipse/xmldb/collegedb/0801">HDipSE</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/northcampus/xmldb/collegedb/0801">North Campus Map</option>
</select><input TYPE="button" VALUE="GO!" onClick="jump(this.form)">
<a href="http://149.157.246.92:8080/uploadbean/SimpleUpload.jsp"><strong>Submit your own
stylesheet</strong></a><br>
</p>
</form>
<p><br>
</p>
<table BORDER="0" WIDTH="500">
<tr>
<td align="center" WIDTH="250"><input TYPE="text" SIZE="40" NAME="display"> </td>
<td align="center" WIDTH="250"></td>
</tr>
</table>
<p align="left"><br>
<br>
</p>
I have a drop down menu from which the user selects from a predefined number of links. I want to display the link selected by the user, in the textbox found further down the page. E.g. If the user selects the 1st option from the drop down list 'CSSE' then "http://localhost/cocoon/csse/xmldb/collegedb/0801" should be displayed in the textbox. Is there a straightforward method for achieveing this?
Many thanks,
Fred
********Javascript Extract*************
<form action="dummy" method="post">
<p><select name="choice" size="1">
<option value>CHOOSE A STYLESHEET</option>
<option value=http://www.webdeveloper.com/forum/archive/index.php/"http://localhost/cocoon/csse/xmldb/collegedb/0801">CSSE</option>
<option value="http://localhost/cocoon/arts/xmldb/collegedb/0801">ARTS</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/staff/xmldb/collegedb/0801">STAFF</option>
<option value="http://localhost/cocoon/research/xmldb/collegedb/0801">RESEARCH</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/hdipit/xmldb/collegedb/0801">HDipIT</option>
<option value="http://localhost/cocoon/hdipse/xmldb/collegedb/0801">HDipSE</option>
<option value>- - - - - - - - - -</option>
<option value="http://localhost/cocoon/northcampus/xmldb/collegedb/0801">North Campus Map</option>
</select><input TYPE="button" VALUE="GO!" onClick="jump(this.form)">
<a href="http://149.157.246.92:8080/uploadbean/SimpleUpload.jsp"><strong>Submit your own
stylesheet</strong></a><br>
</p>
</form>
<p><br>
</p>
<table BORDER="0" WIDTH="500">
<tr>
<td align="center" WIDTH="250"><input TYPE="text" SIZE="40" NAME="display"> </td>
<td align="center" WIDTH="250"></td>
</tr>
</table>
<p align="left"><br>
<br>
</p>