demand
Enter the project has a login function, in this record
achieve
We should monitor all operations Enter the current login page.
$("body").keydown(function () {
var yzmStatus = $("#yzmLoginDiv").css("display");
if(event.keyCode == '13'){
if(yzmStatus == "block"){
yzmLogin();
}else{
mmLogin();
}
}
});