Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
  <meta charset="utf-8">
  <title>AJAX + fx</title>
</head>
<body>
</body>
</html>
 
function fetchPersonnes() {
    // Fetch
    $.ajax({type: "GET",
      url: "http://output.jsbin.com/fokuyi/1.js",
      dataType: "json",
      success: handleData                    
    });  
}
function handleData (data) { 
  // your code !
  console.log(data[12].name + " was born in " + data[12].born);
}
  
$(document).ready(function() {
    fetchPersonnes();
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
dupontpro
0viewers