document.getElementById().innerHTML for select tag doesn't work in IE
- by Syom
i have the following simple script
<input type="button" onclick="document.getElementById('a').innerHTML = '<option>something</option>';"/>
<select id="a" style="width: 150px;">
</select>
but it doesn't work in IE.
could you tell me why?
thanks