title: jquery output id display as [object object]
body: <pre><code>var str = prompt("What is your name?");
  var str1=$(str).html('&lt;b&gt;'+str+'&lt;/b&gt;');
  alert(str1);
  </code></pre>
  
  <p>By above code I'm getting <code>[object object]</code> as output ,. please help</p>