PPK on Javascript Triggers

  • 16th February 2005
  • with Comments off for PPK on Javascript Triggers
  • Filed Under: Weblog
  • tagged with: javascript, xml, dom

I stopped reading ALA regularly when the content became simple how-to's aimed at people beginning in the business... With PPK's JavaScript Triggers article they're back on top. It's a look at a method I'd considered for form validation last year but gave up on as impractical - adding custom attributes to XHTML. The article is great and the comments are better: using namespaces instead of redefining the DTD makes more sense to me and the discussion sheds a lot of light on people's decision-making processes.

An interesting side-note was a post on about class, id and style, which examines the specification's definition of these attributes. It turns out that the spec never once links id and class to style so the common belief that class (especially) is FOR CSS is wrong.

  • Comments off for PPK on Javascript Triggers