var cont=um.geteditor (' Myeditor '). getcontent (); alert (cont); $.ajax ({type: "POST", url: ' a.php ', data: ' content= ' + cont , DataType: "HTML", Async:false,success:function (data) {alert (data);}})
The above code did two pop-up, but the code is not at all, to the PHP side, the code to the font style that is broken, do not know how the matter,
Reply to discussion (solution)
is not the reason for escaping characters
is not the reason for escaping characters
I don't know, if it's escaped, how should I solve it?
is not the reason for escaping characters
I don't know, if it's escaped, how should I solve it?
& is escaped, before inserting a \ Try
I am getting the contents of the editor, the content of the editor is more than N, then how to escape,
You write the content you received in PHP into a file.
View in File
Thank you
JS in use, encodeuricomponent after the good,
var cont= encodeuricomponent (Um.geteditor (' Myeditor '). getcontent ());
Actually, you
Data: {Content:cont},
JQ did it for you.