Reputation: 563
I want to hide all class row which is used from bootstrap using jquery function $('#divid').css("visibility", 'hidden');
but nothing happens. Any ideas?
Upvotes: 1
Views: 1315
Reputation: 48
You can Remove rows classes
$("#divid .row").removeClass("row");
Upvotes: 0
Reputation: 1248
Hide by class:
$('.divclass').hide();
Hide by id:
$('#divid').hide();
Hide by tag:
$('div').hide(); // all div tag will be hide
Upvotes: 3
Reputation: 407
I want to hide all class
so use class, not id ))
$('.divclass').css("visibility", 'hidden');
Upvotes: 0