Updates the HTML element.
This function re-creates the html for the object and replaces the existing DOM elements with the new ones, using outerHTML in IE and its emulation in other browsers.
nullobj.refresh();
obj.setContent("text", "some text");
obj.refresh();