breeze351
asked on
Trying to format phone number on keyin.
I need to format a phone number on a text input.
What I currently have is:
<script type="text/javascript">
jQuery(function($) {
$('#Phone').mask('(999) 999-9999');
});
</script>
<td width = "15%">
<div align="left">
<input type = "text" width = "10" name="Phone" id="Phone">
</td>
I'm not getting the mask.
What I currently have is:
<script type="text/javascript">
jQuery(function($) {
$('#Phone').mask('(999) 999-9999');
});
</script>
<td width = "15%">
<div align="left">
<input type = "text" width = "10" name="Phone" id="Phone">
</td>
I'm not getting the mask.
Which jQuery plugin are you using for mask? Last I checked, jQuery didn't have that built in.
If you are using jquery mask plugin http://igorescobar.github.io/jQuery-Mask-Plugin/ or another plugin
check if you have loaded the proper js file in your page head (eg: jquery.mask.min.js)
check if you have loaded the proper js file in your page head (eg: jquery.mask.min.js)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hey moron!!! If you don't load the plug in, it aint goona work :)
Thanks
Thanks
Open in new window
Just a thought ~Ray