SyntaxFix
Write A Post
Hire A Developer
Questions
Not sure what you are trying to accomplish on your first few lines but you can try this:
$(document).ready(function() { $("#ms_num").attr('maxlength','6'); });