What about adding and ID attribute to any node you are interested in.
on click, post the id to your server or something like that. Then you
can match the element using $('#id_of_the_element'). I hope that
helps.

On Oct 2, 2:11 am, "Greg Warner" <[EMAIL PROTECTED]> wrote:
> I want a user to be able to reference (by clicking) an element on a web page
> and then save a reference to that element in a database for later
> retrieval.  What's the best way to do this?  (Assume that the html page will
> never change).  I could save some sort of path (body > div > div > ul > li >
> a...etc).  If so, is there a way to make an element spit out it's path, or
> at least some sort of unique identifier that can be used later to reference
> it.  Whatever I use to reference it must be able to be saved as a string so
> it can be stored away.

Reply via email to