Hi, I would use a session and write whatever I need somewhere else into the session. As long as the session is kept alive you can grab from it whatever you need. No GET, no POST, and definitely no JavaScript. ;-)
David K. Jon Baer wrote: > You need to be cool and do it the web 2.0 way (slick effects > optional) ... :-) > > <script src="jquery.js" type="text/javascript" charset="utf-8"></script> > > <input type="radio" name="Referrals" value="Y" onclick="$ > ('#Referrals').show()"/> Yes > > <div id="Referrals" style="display: none;"> > <!-- no need to pass any variables around --> > </div> > > - Jon > > References > http://www.jquery.com > > On Oct 30, 2006, at 11:25 PM, Ariel Kulkin wrote: > > >> Problem Statement: With the click of a button, I need to open a new >> window (to capture "user referrals"), and pass to it a parameter >> that will be used to track the user id of the individual who >> originated those referrals. >> >> I have no problems opening the window with the button click: >> I can't quite get the syntax, however, to pass the user_id >> parameter... >> How do I go about passing the user_id parameter to the newly open >> window? >> >> CODE: >> >> Do you know anybody who may benefit from using XYZ System? >> <label> >> <input name="Referrals" type="radio" value="N" >> checked="checked" /> >> No</label> >> <label> >> <input type="radio" name="Referrals" value="Y" >> onclick="MM_openBrWindow('/Pop%20Ups/ >> Referrals.php','Referrals','scrollbars=yes,resizable=yes,width=500,hei >> ght=600')"/> >> Yes<br /> >> >> Your assistance is appreciated. >> >> Thanks! >> >> Ariel. >> _______________________________________________ >> _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php