I\'m not sure why jquery selector value not work, Trying to change the value of inputs to \"a\" but the length not increment, please c
value
\"a\"
length
This works:
$('body').on('input', '.example', function () { $('#result').text( $('.example[value="a"]').val().length ); });