css - remove a style using jquery for a specific element -


i need remove css style on piece of code jquery.

<div class="tabbedpanelscontent 1b" style="display: none;">

and change css style

<div class="tabbedpanelscontent 1b" style="display: block;">

can correct coding work

as using multiple class element, can identify combination of classes below , change

 $(".tabbedpanelscontent.1b").css("display","block"); 

simply call toggle() display or hide matched elements.

$(".tabbedpanelscontent.1b").toggle() 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -