Skip to content

yamadapc/jquery-getpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-path

Gets the CSS path to a jQuery node or the element representation of a library with a similar API.

Based on a StackOverflow answer.

Install

npm install jquery-path

Usage

getPath($('.foo')) // => 'html>body>div#bar>div.foo'

License

This code is licensed under the MIT license.

About

Get the unique CSS path of an element.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published