I have the following input field:
<input type="text" id="myinput">
Using this jquery mask plugin:
jQuery(function($)
{
$("#myinput").mask("(999) 999-9999",
{
placeholder:" ",
});
});
I am trying to detect changes made to this input field using this:
$('#myinput').on('input', function() {
//Change handled here
});
With this code, nothing is happening when the input field is being edited. Any help with this simple problem would be appreciated.
Here is a link to the plugin website: Mask-Plugin
Aucun commentaire:
Enregistrer un commentaire