Answers for "ajax call serialize data"

0

how to use serialize in ajax

$.ajax({
    type : 'POST',
    url : 'url',
    data : {
        $('#form').serialize(),
        par1 : 1,
        par2 : '2',
        par3: 232
    }
}
Posted by: Guest on April-17-2021
0

jquery ajax send custom data after serialize

var data = $('#myForm').serializeArray();
data.push({name: 'wordlist', value: wordlist});

$.post("page.php", data);
Posted by: Guest on January-04-2021

Code answers related to "ajax call serialize data"

Code answers related to "Javascript"

Browse Popular Code Answers by Language