jQuery and “Organized Code”
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.