document.evalute function giving exception
Posted
by R_Dhorawat
on Stack Overflow
See other posts from Stack Overflow
or by R_Dhorawat
Published on 2010-04-23T12:50:32Z
Indexed on
2010/04/23
12:53 UTC
Read the original article
Hit count: 203
i have a code like
res = doc.evalute(xpathExpr,doc,function(prefix) { return namespaces[prefix] || null;}, XPathResult.ANY_TYPE,null );
here doc is DOM document node
when i run for loop like this
for(i in doc)alert(i);
it gives evalute method
but when i tried to use this method on dom node it giving me error like
xpathResult not defined...
i'm working in android browser
thanks in advance....
© Stack Overflow or respective owner