Dec 18 2006
Failing JavaScript
Ajax is becoming omnipresent on the web, but should developers assume that JavaScript is available when developing web-based applications? This blog post by Roger Johansson argues that for basic web apps, you can never assume that JS is there. It spawned a huge (and surprisingly civil) comment thread with a slight consensus agreeing with him.
I’m inclined to agree with those who say the only time that you can assume JavaScript is available is in an intranet environment, and even then someone will inevitably turn off JS so make sure things fail gracefully. For external users, your web page shouldn’t simply stop working because a user doesn’t have JavaScript enabled.
Create a free edublog to get your own comment avatar (and more!)