Hi guys If I were to pass a P tag to $(), is there a way I could find its location in the DOM and return an XPath _expression_? For example: xpath = $(this).getXPathLocation(); // equates to: /html/body/div[2]/p[1] Is this possible in the current source, or will I have to create a recursive function to find an element's position and its parent? --
Phillip B Oldham kilo75 ltd a: Round Foundry Media Centre, Foundry St, Leeds, LS11 5QP t: +44 (0) 870 420 2410 e: [EMAIL PROTECTED] w: //kilo75.com/ Policies This e-mail and its attachments are intended for the above
named This e-mail has been created in the knowledge that Internet
e-mail |
begin:vcard fn:Phillip Oldham n:Oldham;Phillip email;internet:[EMAIL PROTECTED] tel;work:+44 (0) 113 240 5566 tel;fax:+44 (0) 113 240 5566 version:2.1 end:vcard
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/