Re: Executing script from a form
I just tried this and it did something -- i think it just reloaded the
page -- but that's progress.. is this what you meant?
<form onSubmit="javascript:recenter">
<p><select size="1" name="D1">
<%do while not rstemp.eof %>
<option
value="(<%=rstemp("x")%>,<%=rstemp("y")%>,<%=rstemp("zoomlevel")%>,'map')">
<%=rstemp("street")&","&rstemp("city")%>
</option>
<%
rstemp.movenext
loop%>
</select><input type="submit" value="Submit" name="B1"></p>
</form>
0 Comments:
Yorum Gönder
<< Home