Any ideas how to speed this up ?
I've tried the easier option of running thru maintable.all but thats even worse. Its a long table in a scrollable div
1. Is there a way of doing a bulk change to many elements at once
2. Is there some kind of doevents function in js that will allow the user to continue working as it runs ?
3. Any other thoughts on speeding it up ?
var ctltypes = new Array("SELECT", "INPUT", "TEXTAREA");
// perf improv over scanning all tags
for (var c = 0; c < ctltypes.length; c++)
for (var k = 0; k < maintable.all.tags(ctltypes[c]).length; k++)
ctl = maintable.all.tags(ctltypes[c])[k];
ctl.disabled = false;