PDA

View Full Version : Defense before turning off javascript



ezriel
24 Sep 2012, 4:15 AM
Hi,
Is it possible to execute code before the user disables javascript in browser?
For example:
Before turning off javascript save changes made on grid in opened window.

scottmartin
24 Sep 2012, 4:41 AM
You might have Google around to find this as it may be different on each browser. Here is an article that suggests you use noscript to perform a default action:
http://stackoverflow.com/questions/121203/how-to-detect-if-javascript-is-disabled

Scott.