Jquery中tips老是报TypeError: $(...).tips is not a function的原因

1.tips的格式没有问题,但是运行时总是报TypeError: $(...).tips is not a function的错误
if (name == '' || name == null){
    $("#usernamesignup").tips({
        slid:1,
        msg:"企业名称不能为空",
        bg:'#FF5080',
        time:3
    });
    // alert("企业名称不能为空!");
} 

2.原因:没有引入相关包

 

你可能感兴趣的:(TypeError:,$(...).tips,is,not,jquery,tips)