7 Replies Latest reply on Jun 20, 2017 8:36 AM by MartaADQA

    Phonegap. Javascript events issue on .apk

    MartaADQA

      Hi! I just created my first hybrid app, and can see it correctly in my PC and also in my Android while I am running the app in the server. But it doesn't work when I install the .apk in my cellphone. It seems that the problem is in the javascript events. I have a code like this

       

      <body onLoad="function1(); function2()">

       

      But onLoad do nothing (only in .apk). There are another way to do this function? Any help?

       

      Thank you in advance.