Skip to content

Instantly share code, notes, and snippets.

@zacck-zz
Created February 28, 2016 20:56
Show Gist options
  • Save zacck-zz/32d4e1b1d54a65cc485a to your computer and use it in GitHub Desktop.
Save zacck-zz/32d4e1b1d54a65cc485a to your computer and use it in GitHub Desktop.
//get request
$.ajax({
type: 'GET',
url:'Review/getDefaultReview',
data:{},
dataType:'json',
success: function(pulledSection){
//console.log(newOrder);
//addOrder(newOrder);
//$salutations.append('<li>'+ newOrder.Salutations +'</li>');
$.each(newOrder, function()
{
$sections.append('<option>'+ this.Salutations +'</option>');
}
);
},
error: function(){
alert('error loading sections');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment