I have a problem with my phonegap project working on blackberry simulator. The version is 10. When I say phonegap, I haven't used any Cordova features yet but my simple javascript functions are not working in the first place. I have a button click which invokes a Javascript function. This JS function has a PHP as URL to retrieve data. Following is the function code - <pre lang="Javascript">function getAllDetails() { var myTable = ''; myTable += '<table id="myTable" cellspacing=0 cellpadding=2 border=1>'; myTable += "<tr><td><b>S.No.</b></td><td><b>Full Name</b></td><td><b>DOB</b></td><td><b>Gender</b></td><td><b>Address</b></td><td><b>Image</b></td><td><b>Video</b></td></tr>"; var url = "http://XXX.XXX.XX.XX:XX/PG_crud_experiment1/retrieve_all.php"; $.getJSON(url, function(json) { $.each(json, function(i, v) { alert(v.id); myTable += "<tr><td>" + v.id + "</td><td>" + v.name + "</td><td>" + v.dob + "</td><td>" + v.address + "</td><td>" + v.image + "</td></tr>"; }); $("#emp_tb1").html(myTable); }); };
<access subdomains="true" uri="http://*URI name here*" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)