[Proto-Scripty] Re: support vars in the popwindow
I am sorry, causing the mismatch with the direct answering. David, you were right. But I cancelt the whole Problem, by adding another raw with two radio buttons. It is easier for me, saver and simpler. But thanks for your efforts! Best tsunami On 26 Mrz., 20:19, David Behler wrote: > I guess what he means is this: > He opens a popup and wants to access a variable that's declared in the > parent window. > He could pass the value of the variable in the url (= by get, $_GET in > PHP) but he wants to support large texts and might pose a problem when > put in the url. > > Solution: > I don't think there is a "prototype-way" to do this, but it can still be > done with standard javascript: > opener.document.getElementById("foo").value = 'bar'; > > David > > Am 26.03.2011 19:03, schrieb T.J. Crowder: > > > > > > > > > Hi, > > > On Mar 26, 5:42 pm, tsunami wrote: > >> Dear all, > >> is there a possibillity to support vars from the parent window? Yes, > >> of course by get, but I want to support large texts. > >> So get might be a wrong decision. > > >> Best > >> tsunami > > Not following you, can you explain more what you mean? > > -- > > T.J. Crowder > > Independent Software Engineer > > tj / crowder software / com > > www / crowder software / com -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: support vars in the popwindow
I guess what he means is this: He opens a popup and wants to access a variable that's declared in the parent window. He could pass the value of the variable in the url (= by get, $_GET in PHP) but he wants to support large texts and might pose a problem when put in the url. Solution: I don't think there is a "prototype-way" to do this, but it can still be done with standard javascript: opener.document.getElementById("foo").value = 'bar'; David Am 26.03.2011 19:03, schrieb T.J. Crowder: Hi, On Mar 26, 5:42 pm, tsunami wrote: Dear all, is there a possibillity to support vars from the parent window? Yes, of course by get, but I want to support large texts. So get might be a wrong decision. Best tsunami Not following you, can you explain more what you mean? -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: support vars in the popwindow
Hi, On Mar 26, 5:42 pm, tsunami wrote: > Dear all, > is there a possibillity to support vars from the parent window? Yes, > of course by get, but I want to support large texts. > So get might be a wrong decision. > > Best > tsunami Not following you, can you explain more what you mean? -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.