Some Handy Regular Expressions
At least something /.+/ A positive integer /^\d*$/ A decimal number /^\d*\.?\d/ A valid email address /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/ A valid web address...
View ArticleCSS max-width proportional scaling in IE6
The CSS property ‘max-width’ and ‘max-height’ doesn’t work in Internet Explorer 6. Here’s a workaround: .myclass { width:expression(this.width > 100 ? (this.height > this.width ? (this.width /...
View ArticleEscaping a Plus in Javascript
I got stuck trying to send a string that contained a “+” via Javascript to a Flash component. Using “escape()” didn’t help as it continued to come through as a space. The workaround I discovered is to...
View Article
More Pages to Explore .....