To save the content of TinyMCE in Ajax way. First, we need to execute the following code to dump the content to the textarea html control.
tinyMCE.activeEditor.save();
Then, get the text content:
var text = $("#commentEditor").text();
Next, send data back to server:
$.post("http://localhost:8088/TableTopic/myHandler.han",
{ name: "John", time: "3pm", body: text},
function (data) {
alert("Data:" + data);
});
9812ef3b-1e63-4bfb-92db-22767e68e967|1|4.0
ASPNET