How to write this code cleaner, without repetition? : <pre><code>  $("#yl").click(function(){updateYear("sub")});
  $("#yr").click(function(){updateYear("add")});
  $("#ml").click(function(){updateMonth("sub")});
  $("#mr").click(function(){updateMonth("add")});
  $("#dl").click(function(){updateDay("sub")});
  $("#dr").click(function(){updateDay("add")});
</code></pre>

<p>Is there a way to write this code cleaner, smarter without repetitions?</p>
