Here is a small code snippet using which one can enable or disable HTML form elements in a table on checkbox check event.