Macacus CRM hotkeys list

Ctrl+n (new) Qiuck

Alt+n (name) Focus on 联系人

Alt+l (lisence) Focus on 车牌号码

Alt+a (address) Focus on  联系地址

Alt+d (depulicate) 增加一个险种的选择输入框

function Shortcut(){
    $(document).bind('keydown', 'Ctrl+n', function(){
        Quick();
        return false;
    });

    $(document).bind('keydown', 'Alt+n', function(){
        $("#cName").focus();
        return false;
    });

    $(document).bind('keydown', 'Alt+l', function(){
        $("#aLicense").focus();
        return false;
    });

    $(document).bind('keydown', 'Alt+d', function(){
        AddInstrance();
        return false;
    });

    $(document).bind('keydown', 'Alt+a', function(){
        $("#cAddress").focus();
        return false;
    });

    //Keycode shortcut
    $(document).keydown(function(event){
        switch (event.keyCode) {
            case 116:
                //window.alert("Don't use F5 refresh window.");
                return true;
                break;
            case 27:
                QuickClose();
                return false;
                break;
        }
    });
}