jQuery :root Selector
Learn all about the jQuery function :root Selector.
In HTML, the root of the document, and thus the element that $(":root")
selects, is always the <html>
element.
Login to join the community
jQuery Cards is a community to share and geek out
about the latest, coolest jQuery plugins
Login with:
We'll never post to Twitter or Facebook without your permission.
A repository of over 1000 quality jQuery plugins
In HTML, the root of the document, and thus the element that $(":root")
selects, is always the <html>
element.