Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($){
- console.log(Drupal.toSource());
- })(jQuery)
- ===============================
- (function($){
- console.log(JSON.stringify(Drupal));
- })(jQuery)
- ========================
- firebug
- =========================
- (function($){
- $(document).ready(
- function () {
- console.log($(window.location));
- }
- );
- })(jQuery)
- =========================
- http://drupal.org/node/171213
- ====================
- (function($) {
- $(document).ready(function(){
- // http://www.jquerynewsticker.com/
- });
- })(jQuery);
- ====================
- jQuery(document).ready(function($) {
- console.log($("#page-title").html());
- });
- =====================
- (function($) {
- console.log($("#page-title").html());
- })(jQuery);
- =====================
- // Using the closure to map jQuery to $.
- (function ($) {
- if ($('div').hasClass('content')) {
- console.log('yes');
- };
- }(jQuery));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement