To get it to work in Safari, change the line
document.getElementById(sDropDownId).options.add(oItem);
to
document.getElementById(sDropDownId).options[document.getElementById(sDropDownId).length] = oItem;
I'm no Javascript expert but Safari was choking on the add so I messed around until it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.