I have a multiselect dropdown box and a input as below:
<select name="offer_type" multiple="multiple">
<option value="1">Hot Offer</option>
<option value="2">Best Offer</option>
<option value="3">Special / Festival Offer</option>
<option value="4">Side Offer</option>
<option value="5">Top Offer</option>
<option value="6">Megha classified Offers</option>
<option value="7">Buy One / Get One Offer</option>
<option value="8">Inagural Offer</option>
</select>
<input type="text" name="offer" value="" />
Now I want the selected value of offer_type in offer without page refresh. with Jquery.
This should do it for you, you don't need any PHP, just jQuery:
For the multiple select, try something like this:
This will display your answers in the text field separated by a space.
to get the value of the form fields: