On 6/28/07, aDeviKreates <[EMAIL PROTECTED]> wrote:
$(document).ready(function() { $('div.demo-show > div').hide(); $('div.demo-show > h3').click(function() { $(this).next().slideToggle('fast'); }); $('div.demo-show > prodcat.h4').click(function() { //$(this).next().slideToggle('fast'); }); });
Shouldn't this: $('div.demo-show > prodcat.h4').click(function() { be this: $('div.demo-show > h4.prodcat').click(function() { Just taking a guess, since h4 is the object and prodcat is the class. ~Sean