I have many controls in table and I want to disable all the controls using JavaScript upon clicking of some checkbox.
I have google and found that we can’t disable table instead all controls through loop.
Please suggest me, what is better idea
Thanks
Here’s a simple script to do this.
This should run very efficiently, though it won’t change the style of the table very much. Maksim‘s answer has a good solution for making the table look disabled.