Return to Snippet

Revision: 19850
at December 14, 2010 16:03 by dvdrtrgn


Updated Code
$.fn.makeRed = function() {
    return $(this).css('background', 'red');
}

Revision: 19849
at November 2, 2009 00:47 by dvdrtrgn


Initial Code
$.fn.makeRed = function() {  
    return $(this).css('background', 'red');  
}  
  

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

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

Initial Title
Improve your jQuery - 25 excellent tips

Initial Tags
js

Initial Language
jQuery