There isn't a problem with the code, I was passing this.value instead of this to the function.
I know better, it's late Friday and I just couldn't see the real problem.
Sorry to have taken up your time.
I'm missing something, please give me a hint.
function formatPhone(txtbx){
var txt='';
txt=txtbx.value;
txt=txt.toLowerCase;
My browser breaks on this last line and indicates that txt is undefined.
You may want to check out the following link, it has to do with recent document history list.
http://www.techsupportforum.com/showthread.php?threadid=9196
Please let us know if it helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.