Variables and Forms

K

kerravon.geo

I have a select drop-down and I would like to send the value to a
function on submitting the form. The problem is the variable is empty.
Below is the code I am using...any ideas? Thanks for your help!

<%
Response.write("<STRONG>Available Map Bookmarks</STRONG>")
Response.write("<SELECT name='selBookmark'>")
Response.write("<option value='' selected></option>")
Response.write("<option value='59885'>Council</option>")
Response.write("</SELECT>")
Response.write("</FONT>")
Response.write("<INPUT TYPE=Button NAME=buGoto VALUE=Go
onclick=javascript:zoomTo('Parcels','PAR0904_ID'," + "'" +
request.form("selBookmark") + "');>")
'Response.write("<INPUT TYPE=Button NAME=buGoto VALUE=Go
onclick=zoomTo('Parcels','PAR0904_ID','59885');>")
Response.write("</TD></TR>")
%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,881
Members
47,418
Latest member
NoellaXku

Latest Threads

Top