RE: [PHP-WIN] Javascript

From: Date: Thu, 29 Mar 2001 17:18:51 +0000
Subject: RE: [PHP-WIN] Javascript
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6378@lists.php.net to get a copy of this message
msgWindow=window.open("ContentsWindow.php3?ID="+IDent,"displayWindow","menubar=no,width=500,height=300") Greetinx, Mike > -----Original Message----- > From: Tom Mathews [mailto:tom.mathews@st.com] > 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 > >

« previous php.windows (#6378) next »