Ok, here is the problem that I have right now. I want to submit form via AJAX and display fancy message, without need to go to other pages or reload. Which is working fine, except for 1 thing.
When I attempt to get values from form, the issue is with <select>:
<select name="type" id="type"><option value="1">Network Promotion</option><option selected value="2">Regular Promotion</option></select>
Ive tried with:
But it always outputs 0, and no value of selected index.
Ive also tried gettin DOM without value and than:
But that just crashes the script...
So please, can anyone help me out and give me cross-browser solution that works?