M
mike
I think I have a js problem here and I must have some param set wrong.
I have a form on a page and when the form is submitted it should open a
new window and post the content to it.
When the script being posted to is a html page, then this works fine,
but when the script being posted to produces an svg graphic, then there
is no 'view source'. Its almost as though the opened page headers are
already set for html and doesn't like the svg xml schema.
Here is the code:
document.report.action="graphic_rpt.cfm?RequestTimeout=700";
var mywin;
if ( !mywin || mywin.closed )
{
mywin =
window.open(mycgi,'view_report','width='+mywidth+',height=425,top=50,left=0,scrollbars=yes,toolbar=yes,resizable=yes');}
}
document.report.target = 'view_report';
document.report.method = 'post';
document.report.submit();
mywin.focus();
Any help is appreciated.
Mike
I have a form on a page and when the form is submitted it should open a
new window and post the content to it.
When the script being posted to is a html page, then this works fine,
but when the script being posted to produces an svg graphic, then there
is no 'view source'. Its almost as though the opened page headers are
already set for html and doesn't like the svg xml schema.
Here is the code:
document.report.action="graphic_rpt.cfm?RequestTimeout=700";
var mywin;
if ( !mywin || mywin.closed )
{
mywin =
window.open(mycgi,'view_report','width='+mywidth+',height=425,top=50,left=0,scrollbars=yes,toolbar=yes,resizable=yes');}
}
document.report.target = 'view_report';
document.report.method = 'post';
document.report.submit();
mywin.focus();
Any help is appreciated.
Mike