Devmasta
Devmasta

Reputation: 563

How to hide row in html

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

Answers (3)

Ammar Mousa
Ammar Mousa

Reputation: 48

You can Remove rows classes

$("#divid .row").removeClass("row");

Upvotes: 0

AHJeebon
AHJeebon

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

Pasha K
Pasha K

Reputation: 407

I want to hide all class

so use class, not id ))

$('.divclass').css("visibility", 'hidden');

Upvotes: 0

Related Questions