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 -

php - Time zone issue -

iphone - Using nested NSDictionary with Picker -