I have a complex UI with several nested tables, a repeater control and several other HTML controls that have their disable attribute set based on business logic in JQuery.
I need a way to disable the entire table (including nested controls, UI elements etc) and re-enable them when a user toggles a button.
I could iterate through the controls, find each of them and apply the "disable" attribute, but when the user chooses to enable, I will need to go through the trouble of checking if each of the control was initially enabled or not (based on the business logic as explained in para 1)
All I need is a way to leave the initial UI alone and overlay the disable/enable functionality on the UI.
Is there a easy way of accomplishing this?