Titanium Community Questions & Answer Archive

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

Refresh Tab

My program has a tab that opens a webview window which pulls information from a web server so that I can hopefully update the content and it will show up updated when I click on the tab again or switch back to the application in ios4. In the app.js page I have put the code:

tab1.addEventListener ('foucs', function(e){(webview.reload)});

Is there different code that I should be using to refresh the tab or get the whole application to refresh when switched back to.

— asked October 20th 2010 by J W
  • addeventlistener
  • focus
  • iphone
  • webview

1 Answer

  • Did you find the way?

    — answered April 6th 2011 by Adnan Ahmad
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.