var $j = jQuery.noConflict(); $j(document).ready(function() { $j('.clickme').each(function() { $j('.clickme').css('cursor', 'pointer'); }); var question = $j('.clickme') question.click(function() { $j(this).toggleClass('clickedme'); $j(this).next('div #book').slideToggle(); }); $j(function () { $j('table.striped tr:even').addClass('even'); $j('table.striped tr:odd').addClass('odd'); }); });