|
-
Sep 23rd, 2002, 04:46 PM
#1
Thread Starter
Fanatic Member
help with form post w/ Js
How can I post a form variables when a user selects something from a select option box.
-
Sep 24th, 2002, 03:36 AM
#2
Addicted Member
Like this:
<%@ Language=VBScript %>
<HTML>
<BODY>
<%
Response.Write "Previous selected: " & Request.Form("mySelect") & "<br><br>"
%>
<FORM action="mypage.asp" method="post">
<select name="mySelect">
<option value="1">one</option>
<option value="2">two</option>
</select>
<input type=submit>
</FORM>
</BODY>
</HTML>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|