Skip to content

nerdy-sam/jquery.comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

jquery.comments

A jQuery plugin to work with HTML comments

How To Use

Grab all comments in the DOM (that is all comments in page and accessible child iframes)

$('*').comments();

Grab all the comments who are descendants of the body tag

$('body').comments();

Grab all comments who are descendants of the body tag which can match a regular expression

$('body').comments(/\d+/);

Get the string value of the first regular expression matching body tag descendant comment

$('body').comments(/\d+/).get(0).nodeValue;

License

Freely published into the Public Domain (see UNLICENSE file for more info)

Author and Contributors

mitzip http://mitzip.com

Contributing

Pull requests are welcome. I would ask that you add the following to your pull request description.

I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

About

A jQuery plugin to work with HTML comments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published