|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
form action,onclick and php!
Hi everybody.
I have a textfield on my index page to enter email address and when submit button is hitted, a pop-up window opens with the rest of the form but with the email address already in it's field. To do this, I've put an action that goes to a php files that grab the address from the 1st field and contains the rest of the form. the problem is that right now, it's a whole new wondow that opens with a target command because I don't know how to combine the "action" and "onclick" commands into my form tags. I've tried to put only the onclick but the email is not carried to the second form and the index page go away. To make it clear, I just want to do the same thing but the second form in a pop up. Thanks. |
|
#2
|
|||
|
|||
|
RE: form action,onclick and php!
Show us some code bro!
|
|
#3
|
||||
|
||||
|
RE: form action,onclick and php!
|
|
#4
|
|||
|
|||
|
RE: form action,onclick and php!
do not submit the first form at all. pop up the new window and put the javascript code there that goes to its window.opener.document.forms[0].email.value.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > form action,onclick and php! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|