don't know how to use variables in jquery
<pre><code>$("#write").click(function(){
    $("#msg").$('#quote').html();

});
</code></pre>

<p>I am learning jquery (new to js as well). This function writes to a textbox id=msg. However I am having problems pulling the content.</p>

<p>How do I pull the content of a div and use in my function (#quote)? Right now it just writes #quote, not the content of the div called quote.</p>

<p>Also tried:</p>

<pre><code>var quote = $("#quote").html();
    $("#msg").$(quote.val).html();
</code></pre>

<p>Out of ideas.</p>
