0
I would like to add a mask for landline registration on a system screen. But Jquery is not working. Follow code below.
<script>
$(document).ready(function(){
$('#tel').mask('(00)0000-0000');
});
I added this in footer.php and the library call is in header.php. I’ve tried to put both (call and script) in the form itself but also no effect.
Error appears on console?
– Sam
That one
#tel
is an input text?– Sam
No error appears on console, @Sam
– Hamilton Martins
Yes, it is the id of an input text
– Hamilton Martins