I am trying to add a listener with input
element on propertychange
, but it's not working at all.. I tried with chrome as well ie11 both not responding.
is my approach is wrong or is it require any other workarounds?
here is my code :
<form>
<fieldset>
<label>Username: <input type="text" /></label>
</fieldset>
</form>
var callme = function () {
console.log('i am called'); // not calling chrome, ie..
}
$('input[type=text]').on('propertychange', callme);
thanks in advance!