I want to add data of ExtrasGroupID variable into options serialize variable (or what is other way), how can that be done?
Example below:
var ExtrasGroupID = $("#SelectExtrasGroup option:selected").val();
var options = $("#FormExtrasOptionsList").serialize();
$.post("ajax.php", options,
function(data) {
console.log(data)
});
Try this:
Edit: More info on $.param: http://api.jquery.com/jQuery.param/