Question: mask is not working in jquery?
Answer: mask will not work because it runs before the rest of the page (where your input fields are) is parsed. You need to wrap the call in the jQuery document ready function: $('document'). ready(function() { $("#name").