How to disable and enable HTML table using Javascript?

前端 未结 10 1174
醉梦人生
醉梦人生 2020-12-11 18:04

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

10条回答
  •  时光说笑
    2020-12-11 18:10

    A entire table with input fields can be blocked by keeping the table in "fieldset" tag and disable it via Javascript

提交回复
热议问题