Created
January 18, 2013 08:16
-
-
Save hanafiah/4563111 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Jquery Hashbang</title> | |
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' ></script> | |
<script type='text/javascript'> | |
$(document).ready(function() { | |
$.ajax({ | |
dataType: "json", | |
url: "https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=jsondict&name=esolat&query=select%20*%20from%20%60solat%60%20limit%2010", | |
success: function(datas){ | |
$.each(datas, function(index, value) { | |
console.log(value.Hari); | |
console.log(value.Tarikh); | |
}); | |
} | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment