Preventing Firefox reload confirmation

前端 未结 6 2015
一生所求
一生所求 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:46

    I solved this, and sent data as only GET instead of POST,

    It my not suit all needs but it works....

    I was also using location.reload();

提交回复
热议问题