Documentation
http://jquery.org
Code Snippets
Hide and show answers on a FAQ
$(document).ready(function()
$("#faq").find("dd").hide().end().find("dt").click( function() $(this).next().slideToggle();
});
});
Mouseout and mouseover color changes on a table
Assuming the table has a class of "stripeme"
$(".stripeme").find("tr").mouseover( function() { $(this).css( "background", "red") } ).mouseout( function() { $(this).css( "background", "white") } )
Comments (0)
You don't have permission to comment on this page.