Home > Not Working > Display: None Ie

Display: None Ie


What is the correct way to add option elements to a select menu object in Safari-friendly Javascript? JP Reply With Quote 02-21-2006,11:55 AM #14 phpnovice View Profile View Forum Posts Banned Join Date Dec 2004 Posts 8,637 I haven't tried Safari, but I always add options as follows: The code works well in chrome and firefox but in IE and safari, the options with display:none are still showing up. lulli240 # January 13, 2012 at 5:09 am No errors related to this matter, just some unclosed br tags. this contact form

Give help. Code: var selectArray = new Array(); var opt = document.forms[0].elements["selectName"].options; var x, len = opt.length; for(x=0; x