I am doing something like this:
var MESSAGE = "part1 part2";
var fName = $("<input type=\"text\" class=\"fieldname\" size=35 disabled=disabled value=" + MESSAGE + " />" );
the value of the textbox turns out to be "part1" and is missing part2. i.e the characters after the whitespace . What is the mistake here?