Jimbo1 said the following on 12/3/2007 10:28 AM:
<snip>
Quote:
I have a web page in which I'm planning to include an HTML <SELECT></
SELECTlist. I'd like to use this <SELECTlist's ONCHANGE event
trigger to call a Javascript Method that will, if the <OPTIONitem in
the <SELECTlist has changed, refresh the web page via an HTTP
request (I'm not sure if I should be using a GET or POST request, but
a GET ought to be sufficient for my purposes).
>
When I call the page URL, I want to pass a parameter back to it (based
on the <OPTIONvalue selected) to dictate which data will be
returned, so I cannot use a simple page refresh.
<select name="something" onchange="this.form.submit()">
And then have the server read the value of the select element named
"something" and return the data you want returned for that value.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -
http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/