Firebug is able to display the xpath for any DOM element in the HTML view. I was wondering if there’s a way to convert the xpath to a jQuery selector? (I prefer not to do this manually)
This will greatly save me time to find the correct selector for elements which don’t have an id & are way deep in the DOM hierarchy. For example the fifth TD in the 20th TR
AFAIK, xpath support in jQuery is dropped so I can’t use the xpath straight in jQuery?
There’s a ‘copy css path’ in Firebug when right-clicking an element. It can be used to create a selector.