[jQuery] Wiring up lots of text boxes
I want to set the onChange event for a lot of text boxes on a page and
the code I currently have looks like this:
$(document).ready(
function() {
//wire up all changes
$("#requirementsgrid :text").change
(find_and_total_week);
}
);
The number of text boxes can be very large based on the results. Is
this the most efficient way to set an onChange event for a lot of
items on a page or is there a way for me to catch an on change for
something like the form and then determine what actually made the
change?
It can take 5-10 seconds for this set to happen on page load.