Updates the className attribute of the HTML element.
This method is used when it is undesirable to replace the complete html element either to preserve focus/editing changes or just because re-creating the full html takes a lot of time (like with a grid control).
nullobj.refreshClasses();
obj.setClass("frame", "small");
obj.refreshClasses();
refresh() method