Dissect my jQuery - can't use keyup function to insert number of characters into another textarea
<p>I'm trying to figure out why my jQuery isn't working. I've got jQuery linked to, and then after that, I try to bind to the textarea content. I've used name=content and name=#content both.</p>

<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
$('input[name=content]').bind('keyup',function(){
     $('#desctag').val($(this).length)
});
&lt;/script&gt;
</code></pre>

<p>Why isn't it working?</p>

<p>Code is now:</p>

<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    $(document).ready(function() {
$('input[name=#content]').bind('keyup',function(){
 $('#desctag').val($(this).length)
})})
    &lt;/script&gt;
</code></pre>
