Hi, Im using mobiOne for my application. I have this function and it work well when i put it ON THE PAGE CHANGE. so i put it on my sample_custom.js and the activepage() function ON THE PAGE CHANGE but it wont work anymore. \\
Is there somebody who could help me with this. any reply would be appreciated. thank you
function activepage()
{
var activePage = $(newPage).attr(‘id’);
if (activePage == ‘m1-TacticalAsia-Cart’) {
alert(activePage);
}else if(activePage == ‘m1-TacticalAsia-Home’) {
alert(activePage);//some other code
changeImage();
}
else
{
alert(‘do nothing’);
}
}