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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -