Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

Javascript running on its own

Why is my JavaScript running when the app loads? I have no events set to run it, it just runs on its own. I dont want it to run till an event on the 3rd page by pressing a button. (I now how to do that) But i dont know why its running on the startup page.

I am not a programmer and have hardly any experience in it.

Thank you for answering my first of what I'm sure will be many questions.

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Javascript running on its own

Hello Michael,

It all depends on how your js code is written. It is not related to the Appery.io platform.

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

Javascript running on its own

Thank you for the response. The problem was that my JS didnt have a function so the browser just ran the code as soon as the page loaded.

Return to “Issues”