you can write something that will do this, there is no one function, however. you will most likely need to loop through each table element and set it's onclick event to "return false;".
As a followup to cLFlaVA's suggestion about disabling scripting... this might just work - although I've never tried it.
Put all your onclick-related code in a stand-alone script block with an id, and then when you want to disable the onclick code from running, change the "type" attribute of that code block to some made-up language using getElementById.
As I say, thus is an untested hunch... but you never know!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.