Titanium Appcelerator Quickie: WebView HTML & evalJS - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

The appcelerator webView control only provides you the HTML of the view if you specified it when creating the view. If you created the view and provided a URL as the parameter, the html property on the webView is undefined when the call is completed.

The javascript snippet below was tested on Android and iOS and it appears to return the HTML content using some javascript DOM trickery.


 See original question here