有时候input标签的内容特别多,每次的输入内容都会记录下来,那是因为input标签自带有一种记忆属性。
只要在input标签里加上 autocomplete="off" 就可以清除input的记忆属性了。
<input type="text" id="TotalJieSuan" autocomplete="off" />
有时候input标签的内容特别多,每次的输入内容都会记录下来,那是因为input标签自带有一种记忆属性。
只要在input标签里加上 autocomplete="off" 就可以清除input的记忆属性了。
<input type="text" id="TotalJieSuan" autocomplete="off" />