jquery binding same event to 2 selectors
<p>I have two classes: Class1 and Class2.</p>

<p>For now, I have 2 function calls calling the same MyFunction function:</p>

<pre><code>$('.Class1').click(function () { MyFunction() });
$('.Class2').click(function () { MyFunction() });
</code></pre>

<p>How do I rewrite this to say "when there's a click on Class1 and on Class2 call MyFunction".</p>

<p>Thanks.</p>
