i have a form having some textfields and a textarea (ckeditor), after onclick button art_title field value is sent to art_save.php page, but value from textarea is not sent. >
This is what worked for me:
$.ajax(
{
type: "POST",
url: path+"/html-action",
data: {data1: dataone,
data2: datatwo,
data3: datathree,
data4: datafour,
message: ckeditortxt},
cache: true,
success: function(html)
{
}
}
Initially, I was using a datastring to pass information, but for some reason, the element that holds the ckeditor data was not being considered as a parameter. So I split all the parameters to individual components i.e. data1 data2, data3, data4.... and this time, it worked