jQuery .live() and .bind() not getting triggered
<p>I'm making a simple chat script, everything is ok, but when I click the button to send message it's not working.</p>

<p><strong>HTML CODE:</strong></p>

<pre><code>&lt;div class="input-group"&gt;
    &lt;input id="sendChat" type="text" class="form-control input-sm noborder" placeholder="Treść wiadomości"&gt;
    &lt;span class="input-group-btn"&gt;
        &lt;button id="ChatButton" class="btn btn-primary btn-sm noborder"&gt;Wyślij&lt;/button&gt;
    &lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p><strong>jQUERY CODE:</strong></p>

<pre><code>$('#ChatButton').live('click',function(){
            newComment($('#chatSend').val().trim());
        })

        /* DODANIE KOMENTARZA PO NACIŚNIĘCIU ENTERA */
        $('#sendChat').bind('keypress', function(e) {
            if(e.keyCode==13 &amp;&amp; !$('#ChatButton').attr('disabled')){
                newComment($('#sendChat').val().trim());
            }
        });
</code></pre>