Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function login()
- {
- var loginName = $("#US_UName").val();
- var loginName = $.trim(loginName);
- if (loginName == "") {
- c_alert("Authentication Error","Please enter your username");
- $("#US_UName").focus(); // not working
- return false;
- }
- }
- function c_alert(Title,Msg) {
- $.confirm({
- 'title' : Title,
- 'message' : Msg,
- 'buttons' : {
- 'OK' : {
- 'class' : 'blue',
- 'action': function(){
- return;
- }
- }
- }
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement