<form name="MyForm" action="nextpage.asp" method="POST">
<select name="selectName" onChange="document.MyForm.submit">
<option>make a selection</option>
<option value = "one">one</option>
<option value = "two">two</option>
...
</select>
<input type="submit">
</form>
try something like this. Onclick is wrong because as soon as you click it
would send, without you chnaging anything.
Keep a submit button available for non JS users.
Does that help? If not, let us see some code and tell us exactly what you
want it to do.
Stu
"reneeccwest" <re*********@hotmail.com> wrote in message
news:9f**************************@posting.google.c om...
How can I simulate HTTP post request by JavaScript?
When I select from <SELECT> combo box. onClick will call JavaScript
function.
I want this function to send HTTP POST request with the selected index of
the combo box.
To do this, somehow the function must simulate HTTP POST request.
Thanks in advance.