How do I modify serialized form data in jQuery?

前端 未结 4 808
你的背包
你的背包 2020-11-30 23:14

I am trying to submit my form in AJAX, so I have to serialize() the data. But I am using fckEditor and jQuery doesn\'t know how to deal with it, so after the se

4条回答
  •  难免孤独
    2020-12-01 00:07

    use the following function it worked for me

    function(elementName,newVal)
    {
        var postData = $("#formID").serialize();
    
    var res = postData.split("&");
    var str = "";
    
    for(i=0;i

提交回复
热议问题