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
2010-07-16 21:57:16
dang beat me by 10 seconds
Earlz
2010-07-16 21:57:41
or `.css({ display: "block" });`
dave thieben
2010-07-16 21:59:06