NYCPHP Meetup

NYPHP.org

[nycphp-talk] Passing parameters with the click of a button.

Ariel Kulkin ariel.kulkin at gmail.com
Mon Oct 30 23:25:53 EST 2006


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,height=600')"/>
      Yes<br />

Your assistance is appreciated.

Thanks!

Ariel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061030/677ca6b9/attachment.html>


More information about the talk mailing list