RandyBlackburn
Programmer
I'm trying to automatically prompt the user to print the already rendered page, then redirect to another page.
I can't get window.location to work at all, though window.open works.
If I use response.write to write the javascript, the page has not yet rendered.
If I use
script = "<script language='javascript'>window.print();window.open('
it ignores the window.print, and of course opens a new window
I suppose I could do this by putting an additional button on the page to do the redirect, but it's not ideal.
Any suggestions would be appreciated
Randy
I can't get window.location to work at all, though window.open works.
If I use response.write to write the javascript, the page has not yet rendered.
If I use
script = "<script language='javascript'>window.print();window.open('
it ignores the window.print, and of course opens a new window
I suppose I could do this by putting an additional button on the page to do the redirect, but it's not ideal.
Any suggestions would be appreciated
Randy