I have a html select tag after user select value I want to send that value to the server:
<form id ="eventForm" action="/" method="post">
<select name="aaaa">
<option value="abc"> ABC</option>
<option value="def"> def</option>
<option value="hij"> hij</option>
</select>
<input type="submit" id="open" value="Submit Query" />
</form>
The javascript that sends it is this:
$.post("/", $("#eventForm").serialize());
However it is not received by the server at all. This does work when I send data in a form as input type text. Thus why wouldn’t it send the selected data in the select tag?
Thanks
The web server module wasn’t picking it up as attribute was named wrongly.