Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
197
rated 0 times [  200] [ 3]  / answers: 1 / hits: 18827  / 15 Years ago, fri, april 24, 2009, 12:00:00

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?


More From » jquery

 Answers
13

checkout the blockUI plugin. you can put a grey div over the entire table with it.



This will have the same effect as disabling every table control.


[#99654] Sunday, April 19, 2009, 15 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
karladaijahf

Total Points: 78
Total Questions: 123
Total Answers: 89

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
;