Skip to content

Instantly share code, notes, and snippets.

@yurifrl
Created March 11, 2014 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yurifrl/9488737 to your computer and use it in GitHub Desktop.
Save yurifrl/9488737 to your computer and use it in GitHub Desktop.
option type by get
var data = inputs.serializeArray();
var option_types_url = window.location.protocol + "//" + window.location.host + "/" + 'api/option_types?';
$.get(option_types_url, { ids: data[3].value} ).done(function(option_types) {
console.log(option_types_url);
console.log(option_types);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment