I have this in my htm file
<select id="SelItem">
</select>
Within my javascript file I have a section for jquery I have the following
var itemval= '<option value="OT">OT</option>';
$("#SelItem").html(itemval);
Wouldn’t the following populate my drop down with OT?
It does not populate anything in the drop down
You might want to consider using append:
Example
Update
As js1568 pointed out – the problem is most likely stemming from the page not being loaded when the JS / jQuery code is being executed. You should be able to fix this with the following: