5168 shaares
38 private links
38 private links
jQuery uses the existing, ubiquitous API for interacting with the DOM: CSS selectors. Millions of designers already know how to use CSS. Before jQuery, JavaScript developers crawled the DOM with nightmarish, error-prone code while their designer brethren could simply select some page elements and apply styles. jQuery brings the accessibility of CSS targeting to JavaScript.