Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Posts
    191
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Submit Drop Down Query String ASP Code

    Hi I have a drop down that autosubmits when selected.

    What would be the best way to change this code so the page doesn't refresh?

    Code:
    <select name='image_selector' "this.form.submit();">
    <option></option>
    </select>
    I saw this but it didn't work for me.

    http://www.w3schools.com/Ajax/ajax_database.asp

    The ASP code I am calling is:

    Code:
    <%
    Dim image_selector
    image_selector = Request.QueryString("image_selector")
    %>
    Thank you

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    how didn't it work for you? what specific error do you get?
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •