Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nction(){
- var staff = getStaff();
- })
- function getStaff(){
- $.ajax('/getstaff',
- {
- success: function(data){
- return = data;
- },
- error: function (xhr, ajaxOptions, thrownError) {
- console.log(xhr.status);
- console.log(thrownError);
- }
- }
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement