I am developing buyers guide app with phonegap. where i am trying to fetch some info from server using jquery. but when i run following code with phonegap its not working
<!DOCTYPE html>
<html>
<head>
<script src="jquery-1.9.1.js">
</script>
<script>
$(document).ready(function(){
$("button").click(function(){
$('#div1').load('http://localhost/MySample.php');
});
});
</script>
</head>
<body>
<div id="div1"><h2>Click to get information</h2></div>
<button>Get External Content</button>
</body>
</html>