I use cordova and ripple emulate for debug, all work fine but i i try to change the index.js
var app = {
// Application Constructor
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener("deviceready", this.deviceready, false);
},
deviceready: function() {
app.start();
},
start: function() {
//test border
jQuery("#homePage").css("border","10px solid red");
navigator.notification.alert(
"this a test",
alertCallback,
"titolo",
"ok!"
);
}
};
function alertCallback(a)
{
}
jQuery(document).ready(function() {
app.initialize();
//console.log("prova");
});
but i try to change
navigator.notification.alert(
"hello world",
alertCallback,
"titolo",
"ok!"
grunt reload and ripple show me always the notification "this a test"
why don't change the message??