novice2004
Programmer
How do I convert value from text field to String so I can match it with reg.expresion.
Thank you.
validatePhone(form.elements["phone"].value);
function validatePhone(phone){
phone_array = phone.match(myRE);
Thank you.
validatePhone(form.elements["phone"].value);
function validatePhone(phone){
phone_array = phone.match(myRE);