jquery - How to send an AJAX post with concatenated data -
i'm trying ajax post passing in data multiple parameters, following format correct?
$.ajax({ type: "post", url: 'http://www.citroen.it/_/layout_citroen_pointsdevente/getstorelist', datatype: "jsonp", data: { 'lat': +45.66 + 'long': +12.23 + 'page': +6149 + 'version': 43 + 'order': 2 + 'area': 150 + 'ztid': '' + 'attribut': '' + 'brandactivity': '' }, success: function(data) { console.log(data) }, error: function() { console.log('errore'); } });
Comments
Post a Comment