Web developer, Norwich - Clive Portman

Change CSS style using jQuery

Published under CSS, Javascript, jQuery

Published on Thursday 22nd July 2010

Say you’ve got this:

<div id=”divname”></div>

and you hide it in the CSS using:

#divname {display: none;}

To show it using jQuery, simple action this:

$(“#divname).css(“display”,”block”);

Simples!