Skip to content Skip to sidebar Skip to footer

Unable To Call Function Not Getting Page.matches Onsenui

Project Attached HERE I have wasted my whole life (actually one week) figuring out this problem. I am at the beginning stage of Hybrid App Development and this thing is hurting me.

Solution 1:

Whao!

I just edit this:

if (page.matches('#fetchPage.html')) {
page.querySelector('#divFtechHere').onclick = function() {
    console.log ("list Item Clicked!");
    alert('Now clicked');
 };
} // page.matches('#fetchPage.html')

to

if (event.target = "fetchPage.html") {
    $("#divFtechHere").click(function () {
        alert("Div Clicked");
    });
}

and it is working now ;)

The method now is calling, Yep :D

Post a Comment for "Unable To Call Function Not Getting Page.matches Onsenui"