function Talk()
{
var vis = $('#MyWrapper').css("visibility");
if(vis == "visible")
{
$('#MyWrapper').css({ visibility: "hidden" });
}
else if(vis == "hidden")
{
$('#MyiWrapper').css({ visibility: "visible" });
}
}
function onDeviceReady()
{
$('#myButton').click(Talk);
}
I have a cordova app containing the above code in its www/scripts/index.js file. My app is working fine on local visual studio testing with Ripple emulator but when it is uploaded pressing the defined button doesn't have any effect. Why is that. How can I debug an uploaded progressive web app with browser. I am new to cordova.