This should be simple but for some reason I am not getting it right. :/
I am using the jQuery masked input plugin available here
The following is my code snippet:
jQuery:
<script>
$(document).ready(function(){
$("#newStudentForm").validate();
});
jQuery(function($){
$("#Sphone").mask("(999) 999-9999");
});
</script>
HTML:
<input type="text" maxlength="10" name="Sphone" id="Sphone" size="28px"/>
As of now, I cannot see any mask in the textbox. How do I fix this?