Hello all,
How can I have a new pop up opening up using window.open() while using POST method in an HTML form.
Here is a sample function I have tried. Here I want to show the result of the program in the new pop up whose size and other attributes can be controlled by me. Using "_new" is not accepatable.
function doscratch_mail(){
fh = document.scratchpad;
// fh.action= "/dgtlbin/scratch_mail";
window.open("/dgtlbin/scratch_mail","scratch_mail","toolbar=0,status=0,scrollbars=1,location=0,width=490,height=415,resizable=0");
//fh.target= "_new";
fh.method = "POST";
fh.submit();
return false;
}
Hoping to get a quick response, as I desperately need a solution to this.
Regards,
Ritu
How can I have a new pop up opening up using window.open() while using POST method in an HTML form.
Here is a sample function I have tried. Here I want to show the result of the program in the new pop up whose size and other attributes can be controlled by me. Using "_new" is not accepatable.
function doscratch_mail(){
fh = document.scratchpad;
// fh.action= "/dgtlbin/scratch_mail";
window.open("/dgtlbin/scratch_mail","scratch_mail","toolbar=0,status=0,scrollbars=1,location=0,width=490,height=415,resizable=0");
//fh.target= "_new";
fh.method = "POST";
fh.submit();
return false;
}
Hoping to get a quick response, as I desperately need a solution to this.
Regards,
Ritu