When the users of this app make changes to the fields a large amount of changes need to happen across other fields. Typically even with optimized scripts the browser will block user input for upwards of 1 second in IE. To stop with from occurring I do this:
var i = 100;
GetTextInputs().filter('[' + name + ']').each(function()
{
setTimeout("DoWork('" + this.id + "', '" + v + "', '" + name + "');", i);
i += 25;
});
It feels kind of hackish to me but works great.
- Can anything go wrong with this method?
- Alternatively, is there a better way?