I want to send the value of the wymeditor field with ajax.
The code is like below;
$.ajax({
type: "POST",
url: "forms.php",
cache: false,
dataType: "html",
data: {action: 'add', parent: $('input.parent').val(), ntag: $('input.tag').val(), description: $('.wymeditor').html()},
});
I tried for the value of textarea wym.val() / $('.wymeditor').html()
but ajax sends nothing as parameter.
How can I send the value of textarea with ajax?
Thanks.