Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Label and TextBox

Hi,

My question is When I have click my Add Button in the window , a new window will be open in that new window I need to add Two label,two text box and a submit,cancel button.

Please provide me help to solve the problem.

Thanks and Regards,
Venkatesan.R

— asked December 1st 2010 by venkatesan ramdoss
  • label
  • textbox
0 Comments

1 Answer

  • Accepted Answer

    You need to add an event listener to your add button, that responds to the click event.

    myButton.addEventListener('click', function(){
       //navigational stuff here
    });
    

    How you open your window really depends on how you have structured, or plan to structure your app. You may choose to use navigational groups (iPhone apps this is pretty much a must) or whether you want to do it all manually.

    — answered December 1st 2010 by Richard Patching
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.