[jQuery] Re: Ajax post on save dialog box

2009-09-29 Thread lionel28
hi, Firebug was telling me that editcomment was not defined and the dialog was freezing. So I put editcomment, cid and pagetext in bracket and the dialog box updated the div, closed but database was not updated Thanks lionel28 wrote: > > Hi, > > I am loading tiny Mce editor in a dialog box

[jQuery] Re: Ajax post on save dialog box

2009-09-28 Thread ranga pathmasiri
Hi Please try this var content = jQuery.trim(tinyMCE.get('editor').getContent()); $.post("comments.php", { do : editcomment , c : cid , pagetext : content }, function(data){ }); Best Regards Ranga On Tue, Sep 29, 2009 at 9:48 AM, lionel28 wrote: > > > Hi, > > I am loading