开发者

Form values remain after refresh

Hey guys, I've seen some other post similar to this, but nothing suggested in those post has worked for me, so I'll ask again here.

I've got a really basic form. If a user fill out the form partially, then hits refresh, the page reloads and all styles are reset, but instead of having the default text in the form input fields (ie: 'Required') the values from before the refresh are there. I know t开发者_如何学Pythonhis is an odd case, that's unlikely to happen, but I'd still like to know why this is happening and how to stop it.


<form autocomplete="off">

https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion


This is an extremely useful Firefox feature.

You should not try to prevent it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜