Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Problem in query string


Message #1 by "arun" <arun@l...> on Mon, 10 Feb 2003 18:54:00 +0530
Hi,

If you want to open a new window and grab the values
from the parent, try this:

var strSomeText 
window.opener.document.form1.Some_Text.value;

document.write ('some text = ' + strSomeText);

I do this to open a pop-up window to display a
confirmation before the 
user submits the page. I only get & display about 10
fields, so I am not
sure how efficient or fast it will be for a large
number of fields.

HTH.

Mark
--- arun <arun@l...> wrote:
> Hi all,
> 
> Can any one help me in reducing the length of query
> string when the
> information needed to be passed is too huge in
> javascript.
> I am opening a showmodal dialog box to which i need
> to pass say 1000 id's
> (1,2,3......1000). But what happens is since it is
> too long it prompts an
> error.
> 
> Thanx in advance
> 
> with regards,
> arun
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

  Return to Index