Hi,
How to change the options in a Dropdown box using JQuery.
For Eg.
1. <select name="fieldSize" id="fieldSize">
<option>Choose a size </option>
<option value="small">Small</option>
<option value="medium">Medium</option>
<option value="large">Large</option>
</select>
I want to change the options as
2. <select id="fieldSize" name="fieldSize">
<option selected="selected" value="phone" id="fieldPhoneAmerican">### - ### - ####</option>
<option value="europhone" id="fieldPhoneEuro">International</option>
</select>
Like i want to hide the select marked as 1 and to make 2 to appear in this place .How can i do so.