Possible Duplicate:
jQuery - remove style added with .css() function
I want to remove the style property from the div , i cannot use the removeAttribute and removeProperty as removeAttribute removes whole style and remove Property doesnot works in ie.
Is there any other way to do it.
Answer
Use the .css as such
$(elementSelect).css('marginRight', null);
or
$(elementSelect).css('marginRight', '0px').css('visibility', 'visible');
No comments:
Post a Comment