Regular Expression and string.match()
if (frmElement.value.match(/^[a-zA-Z]+$/))
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|