Hi, how do I call a php web service ?
Does jQuery mobile have the same $.getJson in normal jQuery ?
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$.getJSON("http://127.0.0.1/webservice.php?id=1&format=json",function(result){
$.each(result, function(i, field){
$("div").append(field + " ");
});
});
});
});
</script>