Titanium Community Questions & Answer Archive

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

How can I ascertain, whether the "return button" on the keyboard is clicked?

Hi,

I think the title is pretty expressive. Maybe you can give an example.

Thanks in advance!

— asked May 22nd 2010 by Claus Moritz Gräf
  • events
  • iphone
  • keyboard
  • return
0 Comments

1 Answer

  • Accepted Answer

    here you go!

    your_text_field.addEventListener('return',function(e) {
    
        Ti.API.info('you clicked the return button!');
    
    });
    
    — answered May 22nd 2010 by Kosso
    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.