[jQuery] XPATH question

2007-09-16 Thread [EMAIL PROTECTED]
I went through John Resigs screencast on using jquery with firebug at http://jquery.com/blog/2007/01/26/introduction-to-firebug-and-jquery-screencast/ I tried using xpath in the firebug console but get no results for a xpath that I get from firebug when inspecting a text element alert($("/html/b

[jQuery] xpath question

2007-04-05 Thread Benjamin Sterling
Hello all, Trying to figure out this xpath thing. I have an xml file at http://dnatech.informationexperts.com/common/xml/002.xml. I am pulling it in via $.ajax with a dataType of xml. I go to call the first module's attr 'name' with $('/modules/module[1]', docXML[0]).attr('name'); and I get und