Convert javascript function to jQuery
<p>How do I convert this javascript selected to jQuery?  I need to select a button class rather than an ID, and I understand the easiest way to do this is jQuery.</p>

<pre><code>var playButton1 = document.getElementById("playButton1");

playButton1.onclick = function() {
    var ta = document.getElementById("playButton1");

    document['player'].receiveText1(ta.value);

    ta.value = ""
};
</code></pre>
