Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Post data not being sent
08-04-2010, 06:32 PM #1
- Join Date
- Aug 2010
- Thanked 0 Times in 0 Posts
Post data not being sent
I've created a couple of dropdown boxes. The user selects their option from the first box and this activates an ajax call to populate the second box.
If the form doesn't validate and the page and form is reloaded, it remembers my selections.
However, it doesn't recognise that I have made a selection and the post data for that drop down is empty, which leads me to be believe that the page is not posting the data from the ajax generated drop down list.
I've checked my code and this is sound.
Any help is much appreciated.
Here's the html:
<select name="hotel_name_1" onchange="getLocations('1', this.value)"> <option>Select Hotel</option> <!--LIST OF OPTIONS--> </select> <span id="locations1"> <select name="hotel_selection_1"> <option></option> </select> </span>