I have developed an ajax application framework using php/jQuery etc. I would like to ‘require’ a user to have javascript enabled in order use the application (they are all internal apps so we are able to dictate the compatibility).
How can I detect if javascript is enabled on the serverside? please provide an example.
You can’t detect this server-side, you can however present a message client-side with the
<noscript>tag, like this:<noscript>tags appear when the client doesn’t have JavaScript enabled for whatever reason, so use them to present a message, element, etc to them…just give it some styling and you’re good to go.