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