If I open index.html from the www folder in safari, everything works
properly. If I open it in the simulator or the device, things fail.
The jquery library is loaded:
<script type="application/x-javascript" src="js/jquery.min.js"></
script>
<script type="application/x-javascript" src="js/jquery-ui.min.js"></
script>
and works properly because I'm running jquery tabs on the same page.
Here is the json request: $.ajax(
{
type: "POST",
url: "
http://MYURL/get_json.php",
dataType: "json",
data: "var=" + myVar,
success: function(msg)
{
var_dump(msg);
}
});
Julian