bootstrap Switch 의 'setState' 메소드를 사용하면 에러가 발생
해결 법 좀
Uncaught TypeError: Cannot read property 'apply' of undefined(anonymous function) @ bootstrap-생switch.js:485
n.extend.each @ jquery-2.1.4.min.js:2
n.fn.n.each @ jquery-2.1.4.min.js:2
$.fn.bootstrapSwitch @ bootstrap-switch.js:477
(anonymous function) @ (index):119
n.event.dispatch @ jquery-2.1.4.min.js:3
n.event.add.r.handle @ jquery-2.1.4.min.js:3
n.event.trigger @ jquery-2.1.4.min.js:3
(anonymous function) @ jquery-2.1.4.min.js:3
n.extend.each @ jquery-2.1.4.min.js:2
n.fn.n.each @ jquery-2.1.4.min.js:2
n.fn.extend.trigger @ jquery-2.1.4.min.js:3
BootstrapSwitch._elementHandlers.$element.on.change.bootstrapSwitch @ bootstrap-switch.js:315
n.event.dispatch @ jquery-2.1.4.min.js:3
n.event.add.r.handle @ jquery-2.1.4.min.js:3
n.event.trigger @ jquery-2.1.4.min.js:3
(anonymous function) @ jquery-2.1.4.min.js:3
n.extend.each @ jquery-2.1.4.min.js:2
n.fn.n.each @ jquery-2.1.4.min.js:2
n.fn.extend.trigger @ jquery-2.1.4.min.js:3
BootstrapSwitch.state @ bootstrap-switch.js:125
(anonymous function) @ bootstrap-switch.js:365
n.event.dispatch @ jquery-2.1.4.min.js:3
n.event.add.r.handle @ jquery-2.1.4.m
댓글 0