jquery in firebug throws always NULL -
i learning how use firebug properly. watched howto , author typed $('p'); in console , displayed p tags. in case there many p tags on site (my local drupal 7 site) shows null. other tags i've tried. have put $ in front , kinda works?! did wrong other way did not work?
the previous example didn't because not returning or printing anything. try this:
(function($) { console.log('this works'); return $('p'); })(jquery);
Comments
Post a Comment