Requirement :- I have an HTML form in my current page. When I submit this form, the result should open in new window.
function openNewWin(formName) {
features=”toolbar=no,location=0,directories=no,status=yes,menubar=yes,scrollbars=yes,copyhistory =1,resizable=1,width=980,height=390,left=0,top=100″;
popupWindow = window.open(”, ‘NewWindow’, features);
thisForm = “document.” + formName;
eval(thisForm).target = ‘NewWindow’;
window.setTimeout( thisform + “.submit()”, 0 );
}





