How to control the content that isn't committed by the form after the browser is refreshed?

109 0

There's a problem with firefox after the form input content doesn't submit direct refresh, and the input will appear in the form.
Find some of the headers that prevent the cache from writing, but there's no effect.

Because there are other elements on the page that JavaScript generated dynamically based on the change event of the content of the form, this causes the content of the page after.

1 Answers

54 4

You can add a property to the form field, with the value equal to the
<input type="text" autocomplete="off"/>
Or to form and add to the entire form.
<form autocomplete="off"/>

Related information:
https://wiki. Mozilla. Org/the_autocomp..
http://www. Sif. org/specs/web-forms..