Try my plugin:
http://www.fyneworks.com/jquery/FCKEditor/
On Jul 27, 6:53 pm, Shaun Kester <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm having a heck of a time getting either tinymce or fckeditor to
> load via ajax and then be submitted with mikes awesome form plugin.
> Anybody got these to successfully work? Here my code that loads and
> binds the textarea and form.
>
> function LoadFunctions() {
> $("#Funcs").load('/Admin.scpc?&Prog=Funcs&UserId='+$.cookie('scpc')
> +'&NoCache='+new Date().getTime(), function(data){
> $('.FuncItems').click(function(){
>
> $("#FuncDetails").load('/Admin.scpc?&Prog=FuncDetails&Type='+$
> (this).attr("rel")+'&UserId='+$.cookie('scpc')+'&NoCache='+new
> Date().getTime(), function(data){
> $('.ItemList').click(function(){
>
> $("#main").load('/Admin.scpc?&Prog=EditItem&Type='+$
> (this).attr("rel")+'&ID='+$(this).attr("id")+'&UserId='+
> $.cookie('scpc')+'&NoCache='+new Date().getTime(), function(data){
> //Start the editor
>
> //Bind form
> $('#EditItem').ajaxForm({
> type: 'post',
> beforeSubmit:
> getFCKRealContent,
> url:
> '/Admin.scpc?&Prog=SaveItem&UserID='+$.cookie('scpc'),
> dataType: 'script'
> });
> });
> });
> });
> });
> });
>
> }
>
> TIA,
>
> Shaun