Run the following code when the js page is loading
= function(){
return "Unsaved content may be lost";
};
This code will not display the return value under Firefox and IE. This text is displayed under Google browser.
Failure control
Triggering js to run as follows:
= function(){};
Copy the codeThe code is as follows:
= function(){
return "Unsaved content may be lost";
};
This code will not display the return value under Firefox and IE. This text is displayed under Google browser.
Failure control
Triggering js to run as follows:
Copy the codeThe code is as follows:
= function(){};