SoFunction
Updated on 2025-04-07

The implementation method of pressing Enter on the keyboard to refresh repeatedly

After pop-up window, click any part of the pop-up body (excluding the title), and press Enter, there will be no bugs.

The code looks like this:

 = function(e){ 
 var ev =parent.  ?  : e; 
 if(==13) { 
  $(this).trigger("click");
 return false
 } 
 } 
 = function(e){ 
 var ev = ?  : e; 
 if(==13) { 
  $(this).trigger("click");
 return false
 } 
 } 

The above layer pop-up window is pressed to enter on the keyboard to refresh repeatedly. This is all the content I share with you. I hope you can give you a reference and I hope you can support me more.