Re: Auto submit
| From: | Zehnder Patrick | Date: | Tue, 12 Sep 2000 07:25:17 +0000 |
| Subject: | Re: Auto submit | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2807@lists.php.net to get a copy of this message | ||
an exemple:
<form name="test" action="checkout.php3" method=post>
<input type=hidden value="text" name="fname">
</form>
<script language="Javascript">
function go()
{
document.test.submit();
}
window.setTimout("go()",0)
</script>
Perhpas, it works if you add 'document.' !
Zehnder Patrick
Enrico Comini wrote:
> Hello, I'searching how make a Auto submit of a form without click
> I try this.
> Don't run
>
> echo"
> <form name=\"form_cli\" method=post action=checkout.php3>
>
> <input type=hidden value=\"".$row["fname"]."\"
> name=\"fname\">
>
> </form>
>
> <javascript:form_cli.submit();return>";
>
> die();