msgWindow=window.open("ContentsWindow.php3?ID="+IDent,"displayWindow","menubar=no,width=500,height=300")
Greetinx,
Mike
> -----Original Message-----
> From: Tom Mathews [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 6:05 PM
> To: PHP Windows lista
> Subject: [PHP-WIN] Javascript
>
>
> Before you shout at me, I know that this isn't the right
> place for this
> question, but you're all always so helpful that I thought I'd
> ask anyway
> (grovel grovel..)
>
> I'm playing around with php and javascript again, passing
> variables from
> one to the other. I've got stuck on something too basic to mention
> though - I want to open a new window using the jscript window.open()
> method, but when I pass in the URL, I also want to pass in a
> querystring.
> I've got this so far: -
> function OpenANewWindow(IDent)
> {
>
> msgWindow=window.open("ContentsWindow.php3?ID=IDent","displayW
> indow","menubar=no,width=500,height=300")
>
> }
>
> The IDent that is passed into the funtion is an integer, and
> that bit is
> fine, but how do I dereference it in the querystring so that what gets
> passed to the new window is along the lines of (say the
> value of IDent
> is 6)
> ContentsWindow.php3?ID=6
>
> Thanks
>
> Tom
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]