My HTML input is created in jQuery so no handlers by default comes with it. I am trying to get onproperty change
$('#input').delegate('input propertychange', function() {
console.log('Hello World');
});
or
$('#input').on('input propertychange', function() {
console.log('Hello World');
});
The expected behavior is that when I type into the input that is generated in jQuery, console.log returns the message. Both examples above don't work, any suggestions? Thanks!
EDIT:
I generate the input this way:
$('#container').append('<input type="text" id="inputidhere" value=""></input>');