Jquery - sinsunsan/archiref_wiki GitHub Wiki
-
A selector with several methods (syntax)
It's more readable to write each method on a new line like the following
$("#rue89-register-status-status")
.addClass('status-check-informer-progress')
.html(Drupal.settings.statusCheck.progress);
- How to know which version of jquery is used in a site
// Returns string Ex: "1.3.1"
$().jquery;
// Also returns string Ex: "1.3.1"
jQuery.fn.jquery;
- ajax
Make an ajax call with jquery
http://api.jquery.com/jQuery.ajax/