Has anybody here read the book "ppk on JavaScript"?
http://www.quirksmode.org/book/
It's from 2006, and written by Peter-Paul Koch. Over the years, I've
found some useful information (mostly compatibility tables and
cross-browser tests) on quirksmode.org. On the other hand, the examples
from the book are available online, and they don't convince me.
The first example (a character counter for text areas) requires a
non-standard "maxlength" attribute on textarea elements and uses
innerHTML to create content.
The second example (a form validator) uses browser sniffing
(userAgent.indexOf), "document.write('<style>.blah", "new Object()", etc.
I didn't read any further after that.
Now that I've seen it on the desk of a co-worker (who hasn't started
reading it yet), I was wondering if anybody here has any comments about it.
- Conrad