jQuery removeClass from button
<p>I need to remove "disabled" class from button when there is at least one char in the input. This is jQuery code:</p>

<pre><code>$('.reply').on('change', function() {
    if ($(this).val().length &gt; 0) {
        $(".replyBtn").removeClass('disabled');
    }
});
</code></pre>

<p>This is HTML:</p>

<pre><code>&lt;input type="text" name="reply" class="reply form-control" placeholder="Rašykite atsakymą..."&gt;
&lt;br&gt;
&lt;button type="submit" class="replyBtn btn btn-success disabled"&gt;Atsakyti&lt;/button&gt;
</code></pre>

<p>But it's not working and I don't get errors in console </p>