jQuery serialize() leaves out textarea

前端 未结 9 1967
醉梦人生
醉梦人生 2020-12-16 11:33

When I submit a form using jQuery\'s serialize() method, everything gets submitted except the textarea in the form. Is this a common issue? I can\'t figure it out. The form

9条回答
  •  悲哀的现实
    2020-12-16 11:58

    If the textarea is controlled by an editor like tinyMCE, you may need to call tinyMCE.triggerSave(), as described in this answer.

提交回复
热议问题