facebook

Problem variables javascript multipage

πŸ’‘
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #345694 Reply

    cor9003
    Member

    Hello, I’m using multipages and when change from one to other using the tabBar I use a new function in the javascript. In the first page I have some variables with values and I would like to use them in the second multipage, but I donΒ΄t know how to pass them. I’ve read about $(old page).attr(‘id) but I do not undertand well. I would need an example how we can use in other pages the variables created in the first page.

    Thanks in advance for the help
    David

    #345696

    Brandon
    Member

    Variables are global when declared in your <form>_custom.js file. Just make sure you are not declaring them inside a function and you should be able to access them from anywhere in your app.

    #345702

    cor9003
    Member

    Thanks a lt for the answer

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem variables javascript multipage

You must be logged in to post in the forum log in