Titanium Community Questions & Answer Archive

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

WebView, browser-like functionality

I want to make my webview have this sort of functionality:

button1.addEventListener('click',function(e){
    webView.load(url);
});

But unfortunately there is no "load" function for the web view. Any suggestions on making this work?

— asked August 24th 2010 by Rory Gilchrist
  • browser
  • button
  • load
  • update
  • url
  • webview
0 Comments

6 Answers

  • 
    webView.url='http://google.com'
    
    — answered August 24th 2010 by Dan Tamas
    permalink
    0 Comments
  • http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.WebView-object

    — answered August 24th 2010 by Daniel Lim
    permalink
    0 Comments
  • Direct to the function/function name please? I must be blind.

    — answered August 24th 2010 by Rory Gilchrist
    permalink
    0 Comments
  • url : "the url to the web document. this property will change as the content of the webview changes (such as from internal hyperlinks, etc)"

    — answered August 24th 2010 by Daniel Lim
    permalink
    0 Comments
  • Yes, I've been doing that, but the events associated such as 'load' and 'error' are not firing.

    — answered August 24th 2010 by Rory Gilchrist
    permalink
    0 Comments
  • Okay, okay, okay. I got it. I was being an idiot. Sorry for wasting your time everybody!

    — answered August 24th 2010 by Rory Gilchrist
    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.