标签: jquery twitter-bootstrap
我正在使用自举开关http://www.bootstrap-switch.org/
当我尝试使用以下代码应用任何功能时
$('#switch5').bootstrapSwitch('setSizeClass', 'switch-mini');
它一遍又一遍地给我这个错误。
Cannot call method 'apply' of undefined