title: Using .each on dynamic objects in jQuery?
body: <p>There are lots of questions that seem to be asking this, but in the end all they want is to attach .click events and not .each and so the generally accepted answer in all of them include <code>$("body").on("click", ".selector", function(){});</code> and this is definitely not what I want.</p>
  
  <p>I have some generated inputs and I need to change the value of each one at the same time. Normally I would <code>$(".inputs").each(function(){$(this).val("new-value")};</code> or something along those lines, however, I can't because of the dynamic aspect.</p>
  
  <p>So how would you do a <code>$("body").on("each", ".inputs", function(){});</code>?</p>