jQuery serialize() leaves out textarea

前端 未结 9 1964
醉梦人生
醉梦人生 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 12:05

    Works fine in the fiddle. http://jsfiddle.net/Ultimate/2Ey2A/ Testing with

    $('button').click(function(){
        alert($('form').serialize());
    });
    

提交回复
热议问题