Show elements with certain css-class
I'm trying to show all eleme开发者_StackOverflownts with a certain css class, without success. The elements are hidden with display:none;
$('myClass').each().show();
This doesn't do anything. How would I need to fix this?
try this:
$('.myClass').show();
try:
$(".myClass").each(function(){
$(this).show();
});
精彩评论