Skip to content

Instantly share code, notes, and snippets.

@hanafiah
Created January 18, 2013 08:16
Show Gist options
  • Save hanafiah/4563111 to your computer and use it in GitHub Desktop.
Save hanafiah/4563111 to your computer and use it in GitHub Desktop.
<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