Safari and Chrome back button changes hidden and submit values in forms

后端 未结 4 2146
Happy的楠姐
Happy的楠姐 2020-12-09 13:13

The following problem happens on both Safari and Chrome, so probably a WebKit issue.

Page A: a page that requires you to login to see, contains a form that has a typ

4条回答
  •  无人及你
    2020-12-09 13:59

    autocomplete="off"

    doesn't work for me. I found another workaround, can use text fields, hide these fields using

    DIV style="display:none"

    and add input_type="text" value="s" fields in the DIV tag

提交回复
热议问题