Hi user93,
Refer below code to fire change event and save the content in database with ajax call.
Html
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
mode: "exact"
, elements: "txtTinyMCE"
, setup: function (ed) {
ed.on('blur', function (e) {
var content = ed.getContent();
alert(content);
alert($(content).text());
});
}
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<textarea id="txtTinyMCE"></textarea>
</div>
</form>
</body>
</html>
Demo
Refer below link to assign the value in page load.