safari javascript bug work around - selectbox.options.add
I found a work around for the old safari bug selectbox.options.add when I replaced it with this: selectbox.options[selectbox.options.length] = new Option(optn.text,optn.value);
1 comment:
Anonymous
said...
I actually prefer this syntax but I'm curious what happens in Safari with the .add() method? and is that meant to be on the select list, not the option?
1 comment:
I actually prefer this syntax but I'm curious what happens in Safari with the .add() method? and is that meant to be on the select list, not the option?
Post a Comment