Hi
I use Visual 08 ASP.NET C# and JavaScript
I would like to do the following validation on a text box
the length MUST be 12 characters long in the following format
LLLLLLNNNNNN
Where
L = Letters
N = Numbers
if the users input does not match the required format i want the textbox's backcolor to go red , but if the users input matches the required format i want the textbox's text to go green.
I have absolutely no idea how to do this in Javascript so any help would be appreciated.
Thanks in advance.
Regards.