This is my html code to fetch data from the link which contains json data. But it is not working so can anyone tell me why?
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js">
</script>
<script>
$(document).ready(function(){
$("#btnjson").click(function(){
$.getJSON("http://waitrapp.co/bipin/practice.php",function(result){
$("#ID").append(result.ID);
$("#Item_Name").append(result.Item_Name);
$("#Item_Price").append(result.Item_Price);
});
});
});
</script>
</head>
<body>
<button id="btnjson">Load!!!</button>
<p id="ID">ID: </p>
<p id="Item_Name">Item Name: </p>
<p id="Item_Price">Item Price: </p>
</body>
</html>