facebook

howto create button onclick event

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

    gvorster
    Member

    How do you create an onclick event in the designer that shows an alert box?

    #308570 Reply

    Edit the appname.js file. Scroll down and when you see the buttons id and then replace the

    {
     c o n s o l e . l o g  = b u t o o n  [id] p r e s s e d
    }

    Replace that with,

    {
     a l e r t ( " t e s t  a l e r t ")
    }

    Without the spaces it’s a bug with this site that means i need to add the spaces.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: howto create button onclick event

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