Page 1 of 1

Degrading Javascript Calls

Posted: Thu Feb 23, 2006 3:28 am
by onion2k
I'm working on my first AJAX/JS/PHP application and I'm trying to work out how exactly you write AJAX code in a way that'll degrade nicely if the user has JS turned off. I'm using Script.aculo.us if that makes a difference. How do I make both buttons and text links that normally call a JS function degrade to a normal GET request if JS isn't available? Preferably without rewriting huge amounts of code.. I don't much like the idea of building a complete <noscript> version of the app.

Posted: Thu Feb 23, 2006 3:59 am
by Weirdan
Do not degrade if js isn't available, upgrade when it is on.
Design with javascript turned off, then enhance your app with js.

Posted: Sat Feb 25, 2006 8:12 pm
by Ambush Commander
There should be a bunch of links scattered all over the place about this.