Changing font size with jquery
<p>I'm trying to change the font-size of the text in a textarea by using the .css attr but its not working, do you guys have any ideas?</p>

<pre><code>&lt;html&gt;
&lt;head&gt;

&lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
function crap () {
    var text_input = $('#textarea').val();
    text_input.css("font-size", "14px");
   }
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;textarea id="textarea" rows="30" cols="70"&gt; &lt;/textarea&gt;&lt;br/&gt;&lt;br/&gt;
Font size:&lt;input type="text" id="font_size"/&gt; &lt;input type="button" id="px" value="14px" onClick="crap()"/&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>
