Hiding multiple elements of a specific class or ID using jquery

evesypeette

New Member
I would like to know if its possible to hide all the HTML elements (divs in my case) with a specific class name or ID using jquery.ThanksThanks for the sympathy, I already know the hide() function but the problem is there are multiple divs which I want hidden but the my code only works on the first on or doesnt work at all. Below is my code\[code\]$(document).ready( $(".list").hide(); function divToggle() { $(this).children("div.list").slideToggle("fast"); });\[/code\]Please assist me in finding what I'm doing wrong. And Thanks for your patience
 
Top