PDA

View Full Version : Get Xpath for clicked element



sunebrodersen
22 Dec 2010, 7:11 AM
Hi,

Im looking for a solution to get the xpath selector for the clicked element like this:

Ext.select('*').on('click', getThePath);

Now what im wondering is if there is an existing function that does this, or if someone has done this.

BR/Sune

mankz
22 Dec 2010, 11:36 AM
Curious, What's the use case?