HTML:
<td>
<select name="student">
<option value="">--Select one --</option>
</select>
</td>
Now to this existing element, I need to add option tags in JavaScript.
I tried this way in JS but it is not working
document.getElementById("student").append("<option value="1">Pooja</option>);