Capture post data from dhtmlxeditor

Hi,



I have a html form with dhtmxeditor, I need to capture the form data when user does a form submit.

I dont see any handles for capturing $_POST data from dhtmlxeditor. Any help would be nice.




You can set onsubmit event handler to the form. Here it is possible to get the editor content:


var content = editor.getContent();


This data can be placed into the hidden field and submitted.