Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How do you submit a listbox selection


Message #1 by Jonathan McNeil <juronimo@y...> on Tue, 8 May 2001 17:40:59 -0700 (PDT)
hi,

you will have to use

<form name=3D"formname">
    <select name=3D"myname" onChange=3D"document.formname.submit();">
        <option>..................
    </select>
</form>

however this will not work if JavaScript is disabled in Client Browser

jigs
  ----- Original Message -----
  From: Jonathan McNeil
  To: javascript
  Sent: Wednesday, May 09, 2001 6:10 AM
  Subject: [javascript] How do you submit a listbox selection


  I have an asp page with a listbox. I want to select
  something from the listbox without pressing a submit
  button. How do I do this?


  

  Return to Index