Displaying 1 result from an estimated 1 matches for "olddiv".
Did you mean:
olddir
2006 Feb 23
25
reloading fragments of pages
...tions from the server*
result = originalRequest.responseText;
*if* (result!='''') {
$(this.last_portlet_id).innerHTML = result;
*var* newdiv = document.createElement("div");
newdiv.innerHTML = result;
newdiv.id = this.last_portlet_id;
olddiv = $(this.last_portlet_id);
parent = olddiv.parentNode;
olddiv.parentNode.replaceChild(newdiv, olddiv);
}
},
refreshPortlet: *function*(portlet_id) {
*var* params = ''portlet_id='' + portlet_id;
url = ''viewPortlet'';
*var* refreshPort...