We may see that we don’t get proper output in IE when we try to use
document.getElementById('my_id').innerHTML="mm";
This mainly happens in the case we try to implement innerHTML
into the select
tag. The way I recommend to overcome this situation is to use jquery. We can write the content in jquery as follows:
$('#
my_id
').html("<option value='mm'>mm</option>
");
I had tested it and saw that it’s working.