jquery-getpath
1.0.2 • Public • Published
Gets the CSS path to a jQuery node or the element representation of a library
with a similar API.
Based on a StackOverflow answer.
npm install jquery-path
getPath($('.foo')) // => 'html>body>div#bar>div.foo'
This code is licensed under the MIT license.
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.2 | 24 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.2 | 24 | |
1.0.1 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads