[thelist] AJAX Tip

Christian Heilmann codepo8 at gmail.com
Thu Apr 6 10:29:10 CDT 2006


> > There is no "hook" in the markup.
> Sorry Matt, I wasn't talking about hooks in the markup, I said hooks in the
> code.
> E.g.  Whenever you use getElementById("id"), we're expecting an element with
> that ID.  So there's no maintenance difference.  Unless you're adding
> all your elements in JavaScript too!

Yes, but the difference is that these are shared among JS and CSS, and
inline event handlers would be only for JavaScript. Or are you trying
to argument that JavaScript is as easy to learn as adding some classes
and IDs and writing CSS for it?

--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list