Two events at the same time
<p>I want to do some actions when class .smth is clicked </p>

<pre><code>$('.smth').click(function() {
</code></pre>

<p>and when key is pressed:</p>

<pre><code>$('.txt').bind('keypress', function(e) {
</code></pre>

<p>I want to do the same action, so how can I use them both with OR or something like that? </p>

<pre><code>$('.log').click.or.$('.txt').bind('keypress', function(e) {
</code></pre>

<p>? </p>

<p>THank you.</p>
