Jump to content


Photo

Grabbing form values for use by PHP in a popup


  • Please log in to reply
1 reply to this topic

#1 mikeh623

mikeh623
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 04 May 2006 - 03:47 PM

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]

#2 craygo

craygo
  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 04 May 2006 - 06:07 PM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users