2
JQuery와 함수에서 이벤트jQuery를 화재 사용자 지정 이벤트
.on('input',function() {});
연결된 이벤트를 불 수있는 방법이 있습니까?
내가 같은 것을하고 싶지 : 사용
$('#field').onInput();
JQuery와 함수에서 이벤트jQuery를 화재 사용자 지정 이벤트
.on('input',function() {});
연결된 이벤트를 불 수있는 방법이 있습니까?
내가 같은 것을하고 싶지 : 사용
$('#field').onInput();
$('#field').trigger('input');
https://api.jquery.com/trigger/ –