OZONE Asylum
Forums
DHTML/Javascript
Remove CSS style with jQuery
This page's ID:
31295
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
assuming "img" is the class you want removed: [code] $(document).ready(function(){ $("div.img").removeClass("img"); }); [/code] should do it... Or, if you want to simply alter the css [code] $(document).ready(function(){ $("div.img").css("attribute", "value"); }); [/code] And, if you need to get the image itself and not the div, then [code] $("div.img img") [/code] will get you the image... [small](Edited by [url=http://www.ozoneasylum.com/user/163]DL-44[/url] on 09-05-2009 02:22)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »