Create an Account
username: password:
 
  MemeStreams Logo

USPA 0090132950: Or IBM, go fuck yourself

search

Acidus
Picture of Acidus
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Acidus's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
USPA 0090132950: Or IBM, go fuck yourself
Topic: Miscellaneous 1:21 pm EDT, May 26, 2009

The present invention discloses a system for providing real-time validation of text input fields in a Web page during text entry. Such a system can include a validation-enhanced text input element and an input text validator. The validation-enhanced text input element can be configured to contain a validation expression for a text field in a Web page. The validation-enhanced text input element can be contained in the source code document that corresponds to the Web page. The input text validator can be configured to validate a character entered into the text field against the validation expression in real-time. Characters determined as invalid can be visually indicated by the input text validator in the text field.


<script>
  regexs = {};
  regexs['zip']=/\d{5}/;

</script>

<input
   style="background-color:white;"
   type="text"
   id="zip"
   onchange="this.style.backgroundColor = (this.value.match(regexs[this.id])) ? 'white' : 'red';"
>

Go fuck yourself.

USPA 0090132950: Or IBM, go fuck yourself



 
 
Powered By Industrial Memetics
RSS2.0