title: passing space in the value of textbox using jQuery
body: <p>I have a textbox which is dynamically being added as </p>
  
  <pre><code>&lt;div id="main"&gt;&lt;/div&gt;
  
  
  $(document).ready(function(){
      var time = '2014-04-20 00:00:00';
      var textbox = = '&lt;input type="text" id="timeStatus" value='+time+'&gt;';
      $('#main').html(textbox);
  });
  </code></pre>
  
  <p>However, the value after the space <code>00:00:00</code> is not displayed. </p>