Comment Re:Real-world usage (Score 1) 270
That's also a good idea, for Accessibility or for those with JS turned off. Personally, I code everything as though JS didn't exist, and then add all that extra functionality on top. In AJAX, I go so far as to simply send back a stripped down version of the page from the server, with its MIME type set to text/xml, parse it and update the AJAX-enabled page accordingly. Saves time and extra work of making up a new XML schema, and also makes life easier if you use Struts. It's as simple as mapping a page to itself.