I've created an Adobe dialog and I'm trying to set the value of a static_text field in the dialog using dialog.load. Problem is that my string has a space in it and the text get truncated at the 1st space.
eg.
var classStr="THIS CLASSIFICATION";
dialog.load({ "sub4" : classStr });
The result is that the sub4 text field is set to THIS. How do I quote the string?