[Proto-Scripty] Re: optgroup IE 8-

2011-08-18 Thread Victor
Sometimes IE refuses to insert options created with new Element() or 
innerHTML into SELECT or OPTGROUP. Approach with new Option() is more 
reliable (at least for me) while still cross-browser.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/PSWhYOoXsQIJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: optgroup IE 8-

2011-08-15 Thread Tom Gregory
It's a feature in Javascript since Javascript 1.1.
http://docstore.mik.ua/orelly/webprog/webnut/ch11_04.htm#IXT-11-1363

new Option([text [, value [, defaultSelected [, selected)

It's also it W3V specs: 
http://www.w3.org/TR/2011/WD-html5-author-20110809/the-option-element.html


TAG

On Aug 15, 2:35 pm, kstubs kst...@gmail.com wrote:
 What is Option?  Is this a class/object in the Prototype.js API?

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: optgroup IE 8-

2011-08-15 Thread kstubs
Dohhh!  Call me a ProtoScripty junky :)  OK but Tom, I'm not sure how that 
helps my optgroup issue :/

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/QKbBtOVs2MkJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.