javascript NodeFilter accept( )
@March 15, 2008, 1:22 a.m.
accept( ) | Firefox/Netscape/NN 7 IE n/a Chrome/Safari/DOM 2 |
accept(nodeReference) | |
Returns an integer signifying whether a node is to be included in the NodeIterator or TreeWalker object's list. This method is invoked automatically by the objects whenever one of their pointer-moving methods is invoked. |
|
Parameters | |
|
|
Returned Value | |
Integer value, each of which has a corresponding constant value associated with the NodeFilter object: 1 (NodeFilter.FILTER_ACCEPT); 2 (NodeFilter.FILTER_REJECT); 3 (NodeFilter.FILTER_SKIP). |
Permanent URL:
http://javascript.gakaa.com/nodefilter-accept-4-0-5-.aspx
Powered by Linode.