Jump to content

[SOLVED] Drop downs not being selected in Internet Explorer


MichaelMackey

Recommended Posts

So my drop downs are *occasionally* not being selected when I use internet explorer.  I supposed it would make sense to me if it always happened, or acted the same way on all the drop downs, but it seems to pick and choose some drop downs it likes and others it wont.

 

echo 'document.getElementById("birthmonth").value='.$info[birthmonth].';';

 

Above is all I use to select a value in the drop down, below is what the drop down looks like:

 

<select name="birthmonth" size="0" id="birthmonth" >
		<option value="01">Jan</option>
		<option value="02">Feb</option>
		<option value="03">Mar</option>
		<option value="04">Apr</option>
		<option value="05">May</option>
		<option value="06">Jun</option>
		<option value="07">Jul</option>
		<option value="08">Aug</option>
		<option value="09">Sept</option>
		<option value="10">Oct</option>
		<option value="11">Nov</option>
		<option value="12">Dec</option>
</select> 

 

This is the drop down that seems to fail to be populated the most.  I'm really confused as to why it's being so selective in IE.  Any thoughts?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.