Can I prevent [removed] from being called when doing an AJAX call

后端 未结 9 1630
北恋
北恋 2020-12-24 03:22

I have an AJAX-based grid control.

We hook into the window.onbeforeunload event to check if they have unsaved data and if so present them with a message \"Are you s

9条回答
  •  情话喂你
    2020-12-24 04:17

    One workaround to this problem is to call submitFunction() on click event of hyperlink tag using jquery and remove the href attribute from the hyperlink.

提交回复
热议问题