You should first try placing a div inside your dialog div and appending text to it.
In example: <div id="bestDialog"><div id="bestDialogText"></div ></div>
Then you would set the text of the internal Div. This way you'll have a div for dialog manipulation and a div strictly for text display:
$("#bestDialogText").text("whatever text here");
In example: <div id="bestDialog"><div id="bestDialogText"></div ></div>
Then you would set the text of the internal Div. This way you'll have a div for dialog manipulation and a div strictly for text display:
$("#bestDialogText").text("whatever text here");