|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
sending data between two forms
I am having problem sending the value of the <input> of this page to another <input> in the form "vgetinfo" using the following JS. Can you check it and see hwere the problem is? Thanks
<?php $i_vname='x20051010'; echo " <html> <head> <script type='text/javascript'> function SendVariable(theForm,i_vname) { if (window.opener && !window.opener.closed) { data=document.theForm.i_vname.value; window.opener.document.vgetinfo.i_vdate.value=data ; window.close(); } } </script> </head> <title>Schedfind</title> <LINK href='.cssStylesheet.css' rel='stylesheet' type='text/css'> <body> <form name='Schedfind' method='POST'> <input type='button' value='2005-10-10' name='$i_vname' ondblclick='SendVariable(this,$i_vname)'> </form> </body> </html>"; ?> |
|
#2
|
||||
|
||||
|
RE: sending data between two forms
Sorry, this is actualy a JS/PHP problem but I do not how to send it to that section.
|
|
#3
|
||||
|
||||
|
RE: sending data between two forms
This belongs in Client Side things.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > sending data between two forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|