Hi,
I want to use remote scripting and my problem is I need to use it in an include file like this:
index.php:
<html>
<body>
<?
include("form_page.php");
?>
</body>
</html>
form_page.php:
<form action="index.php">
<table>
<tr><td>
Email: <input name="email">
</td></tr>
<tr><td>
Email: <input name="name">
</td></tr>
</table>
</form>
I want to be able to type in the email address and the remote script should fill the Name field for me.
Now if you look at the FORM action in form_page.php page you will see that it is going to index.php
which is the main page that it holding form_page.php.
Could someone tell me how to setup the remote script in this case and please keep in mind that I cannot change the Form action.
I hope that this is clear enough; if you need more explanation please let me know.
Any help is greatly appreciated
Thank you in advance