I have used select tag in my code and I want to assign value to that dropdown dynamically but I want to assign that value other form options that are assigned to that select tag
For example, if I have:
<select id="city" name="city">
<option value"Solapur">Solapur</options>
<option value"Pune">Pune</options>
<option value"Delhi">Delhi</options>
<option value"Mumbai">Mumbai</options>
</select>
And with the help of jQuery I want to assign value to combo box other than just above four.
For ex. I want to assign city as "Kolhapur" which is not in options.
Is it possible via jQuery?