Opened 5 years ago

Closed 5 years ago

#13249 closed Bug (invalid)

Using CKEditor with ajax and submit a file from form

Reported by: Kaan PAKER Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Hi,

I have a form which include a text field, a file (picture) field, a textarea (CKEditor).

I can use image upload addons. Because When I post image process some procedures. And I cant track which image uploade.

I'm using an jquery code on below but I cant take updated textarea (FCKedit) value.

var fields = new FormData(document.getElementById("veriGiris")); $.ajax({

url: "icerik-icerikGuncelle.php", type: "POST", data: fields, enctype: 'multipart/form-data', processData: false, tell jQuery not to process the data contentType: false tell jQuery not to set contentType ).done(function( data ) {

$("div#islemSutunu").html(data);

});

I search on web and found this.

data = CKEDITOR.instances.detay_tr.getData();

but I cant merge with my Jquery code above.

Can you say me a solution.

PS. Sory for my broken English.

Change History (1)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.4.7

I'm sorry, but this is not a forum. It is a bug tracker.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy