Prevent form to repost on refresh

Posted by meo on Stack Overflow See other posts from Stack Overflow or by meo
Published on 2010-06-10T11:27:18Z Indexed on 2010/06/10 11:32 UTC
Read the original article Hit count: 200

Filed under:
|

Given is a form that is followed by a confirmation page where you have to confirm you entered data of previous form. Now if the user refreshes this recapitulation page, the data form the previous form reposts. Is there a way to prevent that in JavaScript?

I know its not a ideal solution, it should happen on the server side. But i have no choice in this case.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery