")); else msg = "An unexpected error occurred."; showMessage(msg); } }); } }); $("#btnClose").click(function(){ parent.location.reload(true); }); $('.signin').keypress(function (e) { if(e.which == 13){//Enter key pressed $('.signin').blur(); $('#btnLogin').click();//Trigger button click event } }); $('.reg').keypress(function (e) { if(e.which == 13){//Enter key pressed $('.reg').blur(); $('#btnRegister').click();//Trigger button click event } }); $('.forgot').keypress(function (e) { if(e.which == 13){//Enter key pressed $('#btnSendPassword').click();//Trigger search button click event } }); |