mingkwong — 2011-07-13T10:03:51-04:00 — #1
Therefore I would like to code something along the lines of :
can anyone advise on the best way to achieve this please...
cups — 2011-07-13T11:22:22-04:00 — #2
Look into techniques of "Progressive Enhancement", where your basic non-js site is a) navigable b) readable and makes sense then you progressively add JS to enhance the experience.
All client side dependencies such as is JS turned on happen on the client, PHP has already done its job and sent the stream of data to the client. So forget that idea now.