Q. I don’t see where set the events in one screen, fx, if I want run some js code before load the page or
maybe after or were ever… how I set that.
Q. What is the difference between Static Page and Ajax Page
Q. If I change the file extension to .php I can write php code inside the page
Q. Where I can create coding page fx. javascript code.
Q. If I want upload my own images where I do that.
More questions… I trying to implement this code when my app is loaded and doesn’t work,
can u tell me why and where I have to put this code to connect with my WEB SERVICE.
Home Page: Home.html and I insert this code at the beginnig of Home.js
var serviceURL = “http://thebankmiami.com/mobile/phgjqm/services/”;
//get winner time
$.getJSON(serviceURL + ‘getsettings.php’, function(data){
var setting = data.item;
var customer_winner_time = setting.winner_time;
alert(customer_winner_time);
//$(“div#next_winner_time”).html(“<font style=’color:yellow;’>Next Winner at:” + customer_winner_time + “</font>”);
});
This code works fine in my Eclipse Application