How to user mask for Phone/Zip Code or Other in Jquery?
Step 1:
<input name="phone" id="phone" type="text" required>
Step 2:
Add CDN
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.js"></script>
Step 3:
<script>
jQuery(function ($) {
$("#phone").mask("9999-9999999");
});
</script>
Share This with your friend by choosing any social account