开发者

phonegap authenticate on remote website and access its content

开发者 https://www.devze.com 2023-03-06 17:51 出处:网络
How can I access content of a website within the PhoneGap WebView? My application accesses a website with a login form. I want to grab & parse the resulting credentials/content displayed in the w

How can I access content of a website within the PhoneGap WebView?

My application accesses a website with a login form. I want to grab & parse the resulting credentials/content displayed in the website.

Using the ChildBrowser Plugin, it seems that I don't have any access to the child bro开发者_如何学Cwsers content?

Thanks in advance Max


Have you looked at XMLHttpRequest? You should be able to use that in your JavaScript to request the page.


I'd use jQuery's .ajax() function for that!

0

精彩评论

暂无评论...
验证码 换一张
取 消