1<html>
2<head>
3</head>
4<body>
5 <script src="data.js"></script>
6</body>
7</html>
8
1<html>
2 <head>
3<script type="text/javascript" language="javascript" src="jquery-1.8.2.min.js"></script>
4
5<script type="text/javascript">
6 $(document).ready(function(e) {
7 $.getJSON( "priorities.json" , function( result ){
8 alert(result.start.count);
9 });
10});
11</script></head>
12</html>
13
1{
2"start": {
3 "count": "5",
4 "title": "start",
5 "priorities": [
6 {
7 "txt": "Work"
8 },
9 {
10 "txt": "Time Sense"
11 },
12 {
13 "txt": "Dicipline"
14 },
15 {
16 "txt": "Confidence"
17 },
18 {
19 "txt": "CrossFunctional"
20 }
21 ]
22}
23}
24