Remove all CSS property in class by don’t removing class using jQuery
For example :
.ui-widget {
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
font-size: 1.1em/*{fsDefault}*/;
left: 350px !important;
top: 160px !important;
}
//To
.ui-widget {
}
Instead of trying to alter style properties, I would create two separate classes and use jQuery to toggle the classes of HTML elements. That would seem to be more straightforward.