Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Get value from URL !!!!!!


Message #1 by =?iso-8859-1?q?Ranjeet=20Sankar?= <ranju_77@y...> on Mon, 16 Apr 2001 09:33:40 +0100 (BST)
You need the
window.location.search
property.

Joe
----- Original Message -----
From: "Ranjeet Sankar" <ranju_77@y...>
To: "javascript" <javascript@p...>
Sent: Monday, April 16, 2001 9:33 AM
Subject: [javascript] Get value from URL !!!!!!


> Hi,
> I have to get a value passed with the URL and use it
> in the page.
> I open the window using
> function openWin()
> {
> var winFeatures 
>
'directories=no,scrollbars=yes,status=no,toolbar=no,width=415,resizeable=yes
,menubar=yes,location=yes';
> printWindow 
> open('printtest.htm?log=0','printsel',winFeatures);
>
> }
> I want to retrieve the value of 'log' in the new
> window.
> Any help???
> Thankx n advance
>
> ranju.
>
>


  Return to Index