MichaelMackey Posted June 27, 2008 Share Posted June 27, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/112226-solved-drop-downs-not-being-selected-in-internet-explorer/ Share on other sites More sharing options...
MichaelMackey Posted June 27, 2008 Author Share Posted June 27, 2008 Why do I only figure out these things after I post them! Turns out IE doesn't like 0's in single digits. Quote Link to comment https://forums.phpfreaks.com/topic/112226-solved-drop-downs-not-being-selected-in-internet-explorer/#findComment-576130 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.