Shaun,

You could also try out the jQuery based WYMeditor at www.wymeditor.com
- I've used it sucessfully with the form plugin.  Its currently not as
feature-rich as those other editors, but it plays very nicely with
what your trying to do.


On 27/07/07, 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
>
>


-- 
Tane Piper
http://digitalspaghetti.tooum.net

This email is: [ ] blogable [ x ] ask first [ ] private

Reply via email to