So... I'm experiencing an interesting issue. A click event does not seem to be running on my exported app. However, when tested online, it works fine!
code
<pre>
if(Appery("notifications").find("input[type='checkbox']").attr("checked"))
{
// UNCHECKED
alert('OFF');
}
else
{
// CHECKED
alert('ON');
}
/code
This code is really straightforward, right? Once the checkbox is tapped... if it was checked, alert that it no longer is. Otherwise... yay! It's now checked! This works fine when testing online, but on my exported app, nothing happens at all.
Any idea why this might be? That's the entire JavaScript fragment. I didn't leave anything out. Where should I be looking for the error? Everything else on the page seems to be working, including other JavaScript click events.
Is there something about the code above that only works on a normal browser, for some reason?