how to detect javascript enabled from classic asp page without redirecting one page to other page
views:
20answers:
1
Q:
how to detect javascript enabled from classic asp page without redirecting one page to other page
A:
Your best bet, any time you want to know if javascript is enabled, is to just have some text or a non-javascript form and then use javascript to either modify the form to make it more interactive, or hide the text message.
Then, if you want information from the server, for a javascript form, just make ajax calls to fill in the elements that are missing.
So, you could start with populating and hiding all the data that they may want, if they have javascript, and just have the javascript unhide everything.
James Black
2010-10-02 00:07:50