Created
February 28, 2016 20:56
-
-
Save zacck-zz/32d4e1b1d54a65cc485a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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