remove specific field after clicking back in browser or using history.go(-1)

Posted by Y.G.J on Stack Overflow See other posts from Stack Overflow or by Y.G.J
Published on 2010-03-13T07:13:28Z Indexed on 2010/03/13 7:25 UTC
Read the original article Hit count: 225

Filed under:
|
|
|

i have a form with a capacha, if the capacha was entered wrong, after submit the page is doing a "history.go(-1)" and all fields include the capacha input are back on the screen

right now i have a js that clear that - but now that i need it in several places, i want to know if it possible to clear a form field after back with something related to the html form or what ever

thanks

© Stack Overflow or respective owner

Related posts about html

Related posts about form