1. About.com
  2. Computing & Technology
  3. JavaScript

Character Order

From Stephen Chapman, About.com Guide   November 4, 2009

Characters don't have to be adjacent to be able to validate them with JavaScript

It isn't just the characters that are next to one another in the input text that may need validating. Sometimes the order in which certain characters is important regardless of whether they are next to one another or at opposite ends of the text. The ninth form validation tutorial shows you how to test for one character must follow another in the text.

Character Order
Comments
No comments yet.  Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved. 

A part of The New York Times Company.