$('#btn').on('click', function(){
console.log('323');
});
$('#btn').click();
console is written `323`
I want the same with input event, like this:
$('#inp').on('input', function(){
console.log('323');
});
$('#inp').input();
error - input is not a function
So how to simulate input event?