javascript - post form to same site -
do know how post form same site form is?
this not work:
<form action="window.location.href();" method="post">...</form>
empty action
<form method="post">...</form>
works!
http://binarious.de/sandbox/post.php
or php
action="<?php echo $_server['php_self'] ?>"
or smarty
action="{$smarty.server.php_self}"
Comments
Post a Comment