<script type='text/javascript' src='./js/jquery.js'/> <script type='text/javascript' src='./js/jquery.cookie.js'/> <script type="text/javascript" src="./js/date.js"/> <script type='text/javascript' src='./js/json2.js'/> <script type='text/javascript' src='./js/ui/ui.core.js'/> <script type='text/javascript' src='./js/ui/ui.datepicker.js' />If you've specified a class you can use jQuery's selector functionality to apply the mask to all the elements on the page that use that class (or start with/end with a certain string, which is what I do for date fields so they automatically get a nice datepicker functionality). eg (still in the HEAD of the master page)
<script type="text/javascript"> $("document").ready() { $(".phone").mask("(999) 999-9999"); // Masks all element with the class='phone' } </script>Alternatively, and this works best if you put it on the specific ASPX page that has the control, you can specify by id
<script type="text/javascript"> $("document").ready() { $("#HomePhone").mask("(999) 999-9999"); // Masks the element with the id='HomePhone' } </script>Hope this helps,
<script type="text/javascript" src="jquery.js"></script> ><script type="text/javascript" src="jquery.maskedinput.js"></script>>