Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


jquery form serialize and other parameters


jquery form serialize and other parameters  using -'jquery,ajax,forms,serialization'

Is it possible to send a form.serialize() object and other paramters with a single $.ajax() request?

Example:

$.ajax({
    type : 'POST',
    url : 'url',
    data : {
        $('#form').serialize(),
        par1 : 1,
        par2 : '2',
        par3: 232
    }
}


If not what's the best way to submit a form together with other parameters.

Thanks
    

asked Sep 14, 2015 by NevilleFazli
0 votes
6 views



Related Hot Questions



Government Jobs Opening


...