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