[Proto-Scripty] Re: Select field IE problem

2008-10-20 Thread T.J. Crowder
Hi, I tried to remove it and add it later, but it won't work in IE 6... You can definitely add and remove select box options in IE6. There's something about the way you're doing it that's browser-sensitive. If you search... http://www.google.co.uk/search?q=javascript+adding+options+select

[Proto-Scripty] Re: Select field IE problem

2008-10-20 Thread delishus
Cristisor The quick dirty way to deal with this is to have 2 different select list for your days in seperate divs, one with 31 days the other with 30 days. Then with an onchange event on the month div, either show or hide the relevant select list. You can either have the lists hardcoded into

[Proto-Scripty] Re: Select field IE problem

2008-10-20 Thread Matt Foster
Its because he's referencing the object through the options array, Proto never gets to sink its method into the object because of this traversal, while the other browsers support native extensions it works fine. $($(Birth_Day).options[0]).remove(); On Oct 20, 8:55 am, delishus [EMAIL

[Proto-Scripty] Re: Select field IE problem

2008-10-19 Thread T.J. Crowder
What you are saying works in Firefox, but it doesn't work in IE 6. I think what he's saying is if you don't want the option to appear *at all*, you have to remove it from the options list when you don't want it and add it when you do; you can't hide it: As far as hiding goes, I don't think