Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: passing data to parent window


Message #1 by "suhailkaleem" <suhailkaleem@p...> on Wed, 26 Feb 2003 15:50:38 +0500
I think it is the same problem that I just replied.

Majid


----- Original Message -----
From: "suhailkaleem" <suhailkaleem@p...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Friday, February 28, 2003 3:59 PM
Subject: [javascript_howto] Re: passing data to parent window


> I have  asp page which has aloop on TD tag  and every TD tag has radio
> button and every radio button had differnet id
>  now i wnat to pass the selcted radio button value to parent window hidden
> feild
> i always get  true or flase from this code
>  any any one tell em how can i pass radio feild  vlaue to  parent window
> hidden feild
>   i used this
> for (var i=0;i<101;i++) {
> if (eval("document.form2.catID[i].checked") == true)
> opener.document.form1.choose_category_name.value 
> document.form2.catID[i].checked;
>
>
> }
> but alway i get true in  parent window text feild
>
> any help
> Suhailkaleem
>
> ----- Original Message -----
> From: "Mark Eckeard" <meckeard2000@y...>
> To: "JavaScript HowTo" <javascript_howto@p...>
> Sent: Wednesday, February 26, 2003 6:14 PM
> Subject: [javascript_howto] Re: passing data to parent window
>
>
> > Here is an example of what I use to pass values from a
> > pop-up window (child) back to the parent window:
> >
> > window.parent.opener.form1.TextBox.value = 'Some
> > value';
> >
> > Mark.
> >
> > --- suhailkaleem <suhailkaleem@p...> wrote:
> > > Hi !
> > > i have a form  and a text feild in it
> > >  now what i want is i want to open a child window
> > > with a link  passing some
> > > variables in querystring  to it  and then  in the
> > > child window there are
> > > differet check boxes  users selects those   check
> > > boxes  then when  user
> > > click a link or a button on the child window the
> > > value of those textboxes
> > > must appear in the parnet window in the text feild
> > >  how can i do that ?
> > > please can you show me link where it is explained in
> > > detail
> > > Thanks
> > > Suhail kaleem
> > >
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
> >
>
>


  Return to Index