I want to know how can I disable and enable the highlighting on an HTML table using Javascript by clicking an html button.
Here are my codes:
tabletest.ht
You can not disable a table. What do you want to achieve with this? The tables are read only anyway.
If you have input tags in the table, you can disable those one by one.
See also "Disabling" an HTML table with javascript