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