Preventing Firefox reload confirmation

前端 未结 6 2071
一生所求
一生所求 2021-02-05 10:00

I\'m displaying certain records in an editable table. The user when attempts to reload the table while editing a record a pop up comes warning the record about the unsaved data.

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-05 10:34

    The way to avoid that prompt is to not create a situation where a user is trying to reload a POST result page.

提交回复
热议问题