Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Project name :
- * Project Owner :
- * version release : 1 on 7/7/2014
- * Version control : Github
- * Author : EAKKASIT TUNSAKOOL
- * Status : IOS DEVELOPER , Interactive , UI/UX , Front-end/Back-end Developer ,
- * Web-designer , Web Service , 3D Web Gallery , 3D Model , Sculpt
- * Team-backend ************************************************************************************
- *
- *
- *
- */
- var array = [];
- //start ajax
- $.ajax({
- url: 'persons.json',
- type: 'GET',
- dataType: 'json',
- data:"",
- })
- .done(function(data) {
- $.each(data, function(key, val) {
- //val['something']
- //array.push(val['something'])
- });
- })
- .fail(function() {
- console.log("error");
- })
- .always(function() {
- console.log("complete");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement