Reputation: 191
I have a CSS class named .co_dcrTable_Header
with the following CSS:
.co_dcrTable_Header {
color: #212121;
display: block;
max-height: 60px;
overflow: hidden;
padding: 2px 0;
}
Is there a way to remove the overflow
property with jQuery?
Upvotes: 0
Views: 4035
Reputation: 12290
Try this:
$('.co_dcrTable_Header').css('overflow', 'visible');
You can set the property to be empty or any of the below:
visible, hidden, scroll, auto, initial, inherit
Bear in mind that visible
is the default property.
Upvotes: 0
Reputation: 16140
You need to select the elements with the class assigned, and set the overflow value to something other than hidden. Blank will remove it completely I think.
$('.co_dcrTable_Header').css('overflow', '');
Upvotes: 2