how to find element is present using xpath inside domplate

56 views
Skip to first unread message

madura pradeep

unread,
Aug 28, 2012, 2:50:05 AM8/28/12
to fir...@googlegroups.com
I want to find is element present or not using geven xpath.How can do it?

Jan Honza Odvarko

unread,
Aug 28, 2012, 2:59:27 AM8/28/12
to Firebug
On Aug 28, 8:50 am, madura pradeep <1990dr...@gmail.com> wrote:
> I want to find is element present or not using geven xpath.How can do it?

Domplate itself doesn't have direct XPath support, but you can use
document.evaluate
https://developer.mozilla.org/en-US/docs/DOM/document.evaluate

Honza
Reply all
Reply to author
Forward
0 new messages