Skip to content

Instantly share code, notes, and snippets.

@MikSDigital
Created September 16, 2016 07:43
Show Gist options
  • Save MikSDigital/cbdbe6f67add6794dd10fba6759b24a4 to your computer and use it in GitHub Desktop.
Save MikSDigital/cbdbe6f67add6794dd10fba6759b24a4 to your computer and use it in GitHub Desktop.
object push to array
countryData={
name: 'check_country_id',
value: $("#" + type + "Form").find('select[name=country]').val()
};
formData.push(countryData)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment