Jump to content

Grabbing form values for use by PHP in a popup


mikeh623

Recommended Posts

Okay, I have a form with a dropdown and a submit button. Its action attribute calls a javascript function which opens a popup, the popup has the php script that will handle the choice made in the dropdown of the previews/parent window. The problem is, the POST vars aren't being passed to the child popup, I'm pretty sure I know why, I'm just not sure at all what to do about it, like any solutions w/o drastically changing the methodology.

I'm using the form to open the popup. action="javascript: add_player() ;"

Thanks for any and all help!

Our conversation in the PHP Help forum: [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=92749&st=0&gopid=371295&#\" target=\"_blank\"]Post[/a]
Link to comment
Share on other sites

I posted a solution here for someone else

[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=92757\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=92757[/a]

May be what you need.

Ray

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.