How to ajax-submit a form textarea input from CKEditor?

后端 未结 6 999
故里飘歌
故里飘歌 2020-11-28 04:13

I am using CKEditor, jQuery and jQuery form plugin and I would like to submit contents of the CkEditor form via an Ajax query. Here is my code:

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 04:40

    I tried something like this:

    First I had to put an id = "#myForm" on @Html.BeginForm afterwards, I put these in my scripts part where in I use the script:

    
    

    and then I did something like this =] for my submit button and it works fine for me, no more pressing the Submit twice =]

    
    

提交回复
热议问题