Organizational Research By

Surprising Reserch 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
9 views



Related Hot Questions

3 Answers

0 votes
NULL
answered Sep 14, 2015 by MartyBetheld
0 votes
NULL
answered Sep 14, 2015 by DorisAbernat
0 votes
NULL
answered Sep 14, 2015 by KristalHbpwm

...