Hi
Why would this JS function work on the development machine but not when the application is deployed?
function JSGetBrowserWidth()
{
// return document.body.clientWidth;
var w=window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
return w
}
button on page with Info(JSGetBrowserWidth()+" x "+JSGetBrowserHeight()) in Browser code returns the required result.
But when application is deployed nothing happens like in not even an empty dialog appearing.
Thanks in advance for any pointers.
Ericus Steyn
Why would this JS function work on the development machine but not when the application is deployed?
function JSGetBrowserWidth()
{
// return document.body.clientWidth;
var w=window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
return w
}
button on page with Info(JSGetBrowserWidth()+" x "+JSGetBrowserHeight()) in Browser code returns the required result.
But when application is deployed nothing happens like in not even an empty dialog appearing.
Thanks in advance for any pointers.
Ericus Steyn