> I was able to implement some of the changes you recommended.  I did away
> with the .each() bit, switched to using tr#ID instead of tr[id=],

So does the selector now look like this?

   $(".crewSchedule tr#' + cur.employee_id + "." + lbl)

Any time you start a selector with a bare .classname it will be slow
on a large document. It has to go through every element in the
document to see if it has the given className. However, ids must be
unique in a document so you should be able to do this:

   $("#'" + cur.employee_id + "." + lbl)

Have you tried the Firebug profiler to see what's taking all the time?

Reply via email to