Results 1 to 2 of 2

Thread: help with form post w/ Js

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770

    Smile help with form post w/ Js

    How can I post a form variables when a user selects something from a select option box.

  2. #2
    Addicted Member
    Join Date
    Jul 2002
    Location
    Brussels, Belgium
    Posts
    139
    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
  •  



Click Here to Expand Forum to Full Width