jQuery MaskedInput plugin + Editor?
jQuery MaskedInput plugin + Editor?
Hey Allan, I'm trying to use the maskedinput plugin on one of Editor's fields (#DTE_Field_phone). For some reason, the mask isn't being applied with this code:
[code]
$('#DTE_Field_phone').mask('(999) 999-9999');
[/code]
I read through this thread (http://datatables.net/forums/discussion/11028/compatibility-between-maskedinput-and-dteditor/p1), used the OP's solution, and it still won't work. Any suggestions?
[code]
$('#DTE_Field_phone').mask('(999) 999-9999');
[/code]
I read through this thread (http://datatables.net/forums/discussion/11028/compatibility-between-maskedinput-and-dteditor/p1), used the OP's solution, and it still won't work. Any suggestions?
This discussion has been closed.
Replies
Allan
I just looked at your link above and it is displaying the Phone field in that format. Maybe your browser cache is the problem. Looks nice.
Cheers
[code]
editor.on('onOpen', function () {
$('#DTE_Field_phone, #DTE_Field_fax').mask('(999) 999-9999');
});
[/code]