Hi,

I am loading tiny Mce editor in  a dialog box which updates the div on save
I am trying to save in database

'Save Comment': function() {
var content = tinyMCE.get('editor').getContent();

$.ajax({
type: "POST",
url: "comments.php",
data: "do=editcomment&c=+ cid +&pagetext=+ content +"
});

Alert placed before the ajax call shows that I get the cid and the pagetext
Alert placed after the ajax call  are also successful. So my problem is the
ajax call which is not sending any data.

Please someone, what is the best way to post?

Thank you.
-- 
View this message in context: 
http://www.nabble.com/Ajax-post-on-save-dialog-box-tp25656699s27240p25656699.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to