Posted By

dvdrtrgn on 11/02/09


Tagged

js


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

nightshiftc


Improve your jQuery - 25 excellent tips


 / Published in: jQuery
 

URL: http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx

$('#myTable').find('.firstColumn').makeRed().append('hello');  

  1. $.fn.makeRed = function() {
  2.     return $(this).css('background', 'red');
  3. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: dvdrtrgn on November 2, 2009

console.time('create list');      for (i = 0; i 

You need to login to post a comment.