WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 new methods to natives objects, dreadcast, June 10, 2004
     Re:new methods to natives objects, Brian R. James, June 22, 2004
         Re:new methods to natives objects, dreadcast, July 8, 2004
             Re:new methods to natives objects, Erik Arvidsson, July 19, 2004
                 Re:new methods to natives objects, dreadcast, July 25, 2004

Subject: Re:new methods to natives objects From: Erik Arvidsson Date: July 19, 2004
DOM nodes have no Javascript object prototype and therefore cannot be extended using JS. The only known solution is to use behaviors (and that sucks).

erik


I've already wrote such a function, but the method only applies to the document...
What I am looking for is mostly a method for any element in the document
(Your function won't work with ie : document.getElementById(objID).getElementsByAttributeValue(attributeName, attributeValue))
Thanks anyway.

From: Brian R. James
Check out this article at AlphaFilter() http://www.alphafilter.com/go.foo/article/?aid=88/



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX