From a document on web I create a new form using a hot link hotspot containing this code: javascript:openRegistration(‘" + URL_3 + "’, 600,340,1,1,0,0,0);
This is the function:
function openRegistration(URLToOpen, w, h, scroll, menu, toolbar, location, statusb){
params= ‘resizable=yes,width=’+w+‘,height=’+h+‘,scrollbars=’+scroll+‘,menubar=’+menu+‘,toolbar=’+toolbar+‘,location=’+location+‘,status=’+statusb;
popupWin = window.open(URLToOpen,‘window2’,params);
}
When the new form is being submited I want to refresh the opener document. To do this I guess I have to put JS code in the onSubmit event?
Have tried this code in onSubit, but does not work…
opener.location.reload();