Quote:
Originally Posted by sarettah
I am not a jquery expert but I think your problem is because of duplicate ids. I do believe that ids need to be unique.
Just a quick guess.
.
|
Writing duplicate script and css with different ID's would be quite tedious, extensive and overkill though. I have another example without the - / +, but I need that.
Here's the other one.
Code:
jQuery(document).ready(function() {
jQuery(".content").hide();
//toggle the componenet with class msg_body
jQuery(".heading").click(function()
{
jQuery(this).next(".content").slideToggle(500);
});
});