Hi Sergiy, what am I doing wrong? I set my control to be hidden by default (visible unchecked in design mode) then on my page's page show event I have:
code
var isPhoneGapApp = function() {
Code: Select all
return (document.URL.indexOf('http://') === -1 && document.URL.indexOf('https://') === -1);
};
if (isPhoneGapApp === "true") {
Appery("tglSubscribe").show();
}
/code
This hasn't worked.