[removed] True form reset for hidden fields

前端 未结 10 1645
臣服心动
臣服心动 2020-12-14 17:12

Unfortunately form.reset() function doesn\'t reset hidden inputs of the form. Checked in FF3 and Chromium.

Does any one have an idea how to do the reset for hidden f

10条回答
  •  既然无缘
    2020-12-14 17:39

    Seems the easiest way of doing that is having display: none text field instead of hidden field. At this case default reset process regularly.

提交回复
热议问题