yes, they will, if you really want to get them unextended you can use
the following:
var items = document.getElements('[lang=es]', true);
items.setProperty now wont work in IE and safari 2, but you can use
Elements.setProperty(items, <normal arguments here>);
The speedup shouldn't be to big though. Selectors speed can be better
improved by providing a tag, for example: "a[lang=es]" (if you can
reduce it to one tag), since that would only test the a elements for
the lang property instead of every element.
- Jan
On Sep 20, 2008, at 6:05, Iván N Paz wrote:
Hello guys..
Is it possible to get a bunch of tags at once and apply a setProperty
without actually extending them (think speed penalty...)
If there's any other way (even if pure javascript) I would like to
know...
Eveytime I do a $$('[lang=es]'), all those guys will be automagically
extended????
Thanks!!!
--
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦
◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦
www.ivanicus.com
--
my blog: http://blog.kassens.net