问题关键:根据HTML规范,hidden是非ui类元素,不接受用户处理。所以form的 reset并不影响它。

http://stackoverflow.com/questions/6367793/why-does-the-reset-button-on-html-forms-not-reset-hidden-fields

解决思路:既然是非ui的,就避开用它,用text但是隐藏起来。

http://stackoverflow.com/questions/2559616/javascript-true-form-reset-for-hidden-fields

国内的解决方案:

http://blog.csdn.net/woxueliuyun/article/details/7633823

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-09-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
相关资源
相似解决方案