document.returnValue = true; //设置返回值为true or false
return document.returnValue是 //返回真或者假如果是真就执行StatusMsg