I'm looking for the best way to get a selection expression for an element by passing the element , i.e. : i want the reverse of sizzle/slick ... i want to pass an element i've clicked on and get a unique selection expression for it (e.g. : 'table[0] tr td[5] ') is there a library that does that ? or do i have to build it myself by traverssing the dom ?
Thanks in advance .