Answer the question
In order to leave comments, you need to log in
How to send html code to ckeditor using ajax?
ajax script
function call() {
var msg = $('#title').serialize();
$.ajax({
type: 'POST',
url: 'stranajax/ajax.php',
data: msg,
success: function(data) {
$('#htmlx').html(data);
},
error: function(xhr, str){
alert('Возникла ошибка: ' + xhr.responseCode);
}
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question