tags:

views:

67

answers:

1

How to add the style (style=display:"block") to an element in jquery

+7  A: 
$("#YourElementID").css("display","block");

Edit: or as dave thieben points out in his comment below, you can do this as well:

$("#YourElementID").css({ display: "block" });
Colin
dang beat me by 10 seconds
Earlz
or `.css({ display: "block" });`
dave thieben