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

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -