title: cant pass text string into jquery function?
body: <p>What's wrong with my jquery script?</p>
  
  <p>Here's the script</p>
  
  <pre><code>function debug(message){
    $("body").append("&lt;div id=\"debug\"&gt;"+ $(message) +"&lt;/div&gt;"):
  }
  debug("show this debug message in the div");
  </code></pre>
  
  <p>Here's the resulting html I get</p>
  
  <pre><code>&lt;div id="debug"&gt;[object Object]&lt;/div&gt;
  </code></pre>
  
  <p>The html that I expect is this</p>
  
  <pre><code>&lt;div id="debug"&gt;show this debug message in the div&lt;/div&gt;
  </code></pre>