[Project_owners] getElementsByTagName() problem

Philip Chee philip at aleytys.pc.my
Wed Apr 12 20:44:27 EDT 2006


On Wed, 12 Apr 2006 09:33:50 +0100, Neil wrote:

> In addition to what everyone else said, in JavaScript 1.6 (Gecko 1.8) 
> you can use
> var inputFields = Array.slice(doc.getElementsByTagName("input"));

According to MDC Array.slice is available in Javascript 1.2 ?!?
<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:slice>

Phil
-- 
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Start slow and taper off.
* TagZilla 0.059


More information about the Project_owners mailing list