How can I send a synchronization ajax request to my server in onunload function

前端 未结 0 436
青春惊慌失措
青春惊慌失措 2020-12-07 19:14

I need to send a ajax request to my server before web page close, my send code is blow.

SendByAajx = function(msg) {
    var response;
    
    var xmlHttpReg         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题