facebook

How to naviagte to new page from Button? – CLOSED

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #323325 Reply

    editied by Wayne. Moved from Examples forum.

    Hi,

    I have a button , By clicking on that i am running one javascript function, after five clicks it has to navigate to new page. How to do that ?

    Thanks

    #323478

    support-michael
    Keymaster

    The process should be straight forward:

    0) have your button widget configured to call a JavaScript function

    1) write a custom function that on each click increments a global variable

    2) when the global variable equals 5 then execute phoneui.gotoPage()

    See this brief topic that will provide
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=2481&p=5707#p5707

    See other programming resources recently added to the Learning Center

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to naviagte to new page from Button? – CLOSED

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