Drop down value after submit

Results 1 to 2 of 2

Thread: Drop down value after submit

  1. #1
    Vega Guest

    Default Drop down value after submit

    Hi,<BR>I am creating a search page consisting of a number of hierarchical drop down boxes that are part of a ASP search page. When a use selects the first, the page refreshes (refresh()) and the next drop down&#039s content is modified. The problem is that I loose the content in the first drop down and I need to grab it when the user clicks on the submit button. Can someone please offer some advice. I&#039ve exhausted my resources/ideas. Thanks.

  2. #2
    Sathiya Guest

    Default RE: Drop down value after submit

    &#060;select name="ID"&#062;<BR> &#060;option value="1"&#062;<BR> &#060;% If Request("ID") = "1" Then %&#062;<BR> selected<BR> &#060;% End If %&#062;<BR> &#062;1<BR> &#060;/option&#062;<BR> &#060;option value="2"&#062;<BR> &#060;% If Request("ID") = "2" Then %&#062;<BR> selected<BR> &#060;% End If %&#062;<BR> &#062;2<BR> &#060;/option&#062;<BR>&#060;/select&#062;<BR><BR>This may help u

Posting Permissions

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