I\'ve been struggling lately with understanding the best way to organize jQuery code. I asked another question earlier and I don\'t think I was specific enough (found in thi
Just want to add to what was mentioned previously that this:
$.each(container.children(), function(j,w) { $(w).unbind().change(function() { ... }); });
can be optimized to:
container.children().unbind().change(function() { ... });
It's all about chaining, a great way to simplify your code.