Why doesn't this work?
<p>I want to change the value of an element with javascript.</p>

<pre><code>&lt;span id="mixui_title"&gt;Angry cow sound?&lt;/span&gt;


&lt;script type="text/javascript"&gt;
$("#mixui_title").val("very happy cow");
&lt;/script&gt;
</code></pre>
