Displaying 1 result from an estimated 1 matches for "xelement".
Did you mean:
element
2006 Apr 27
5
proposing $E & $T
...er them
as two new dollar-sign functions - elements to be extended by Prototype
geniuses. :-)
makeText(string) as $T() - return text node element
Does just what it says... I''m sure someone could extend it nicely when
via Prototype.
(example) var x = $T(''hello world'');
xElement(tagname) as $E() - return DOM element
* return element, when tagname is a string - via ".createElement()"
* return (deep) clone, when tagname is already a DOM element
$E processes extra arguments for generating DOM trees...
* When extra argument is an element reference, it''s app...