Emm Posted June 25, 2007 Report Share Posted June 25, 2007 Подскажите выражение для проверки на заполнение поля только цифрами и знаком "+"if(/D/(you_phone) || you_phone.indexOf("+" ,0) == -1 ||you_phone.length13){ Link to comment Share on other sites More sharing options...
0 Tokolist Posted June 25, 2007 Report Share Posted June 25, 2007 if (/^[0-9+]*$/.test(value)) {}; Link to comment Share on other sites More sharing options...
0 kiD Posted June 26, 2007 Report Share Posted June 26, 2007 http://www.pcre.ru/docs/ Link to comment Share on other sites More sharing options...
0 Emm Posted June 26, 2007 Author Report Share Posted June 26, 2007 Спасибо! Link to comment Share on other sites More sharing options...
Question
Emm
Подскажите выражение для проверки на заполнение поля только цифрами и знаком "+"
if(/D/(you_phone) || you_phone.indexOf("+" ,0) == -1 ||you_phone.length13){
Link to comment
Share on other sites
3 answers to this question
Recommended Posts