Nick Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everyone,
I am trying to work within someone elses modular system so my
flexibility is rather limited.
I'm trying to do this:
header(Location: javascript:this.print());
Which of course does not work. Anyone know
* and then Torsten Roehr declared
header(Location: javascript:this.print());
Which of course does not work. Anyone know how I might do it?
try this:
echo script language=\JavaScript\
!--
this.print();
//--
/script;
Thanks Torsten, I have managed to do that, but it's in the
* and then Nick Wilson declared
!-- script type=text/javascript
this.print();
/script //--
Right in the middle of the body. It doesnt work LoL! - Seems to me that
it should do...?
Ah... XHTML Strict - Gotta remove the comment tags ;-)
Thanks mate..
--
Nick W
--
PHP General
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: 06/03/2004 11:02:57 AM
Subject: Re: [PHP] Re: Call JS Function with PHP Header()?
* and then Nick Wilson declared
!-- script type=text/javascript
this.print();
/script //--
Right in the middle of the body. It doesnt work LoL! - Seems
* and then Dennis Seavers declared
You should be able to use the comment tags, just put them inside the
script tags:
echo script language=\javascript\ type=\text/javascript\
!--
this.print()
//--
/script;
I don't believe you need a semi-colon after this.print within the
5 matches
Mail list logo