tinymce and Jquery UI dialog working nicely
问题 I'm having some problems with Jquery UI Dialog and TinyMCE. Passing data to a text area works well with UI Dialog and Jquery. So setting data in text area like this works fine: $("#MessageDialog #messageDto_Body").val(messagedata.Body); $("#MessageDialog").dialog("open"); When I attach a tinyMCE editor to the text area it correctly adds the editor (and without the UI window the content of the text area is preserved): tinyMCE.execCommand('mceAddControl', false, 'messageDto.Body'); With UI