zzfive03
Programmer
- Jun 11, 2001
- 267
Ok, I have a pulldown select box with some values that submit to a SQL statemnt on a different page. I would like it to automaticly "execute" once the selection is made (without the user haveing to click 'go') I think i need to call a "onsubmit'document.run.submit()'" or something. But also, my reciving page is currently using a If statment, to see if the 'go' button was clicked. (I do this because I have many pages pointed to this one and it just goes down the line of If statnemts until it finds the that matches. How can I set my button to a <> 0 as well as come to the page without pressing the 'ok' button? I hope I explained this clearly. Mark