开发者

Running Javascript on the Webview Child whose parent is also a Android Browsers webview

开发者 https://www.devze.com 2023-04-13 08:21 出处:网络
I am working on the Google\'s open source Android Browser, i am working for a requirement, where i need to show some content into a new webview like a popup dialog. I shall pass some HTML data to the

I am working on the Google's open source Android Browser, i am working for a requirement, where i need to show some content into a new webview like a popup dialog. I shall pass some HTML data to the Webiview. I am having some JS within HTML content but the JScript is running on the main page not on the custom webview i created. Plea开发者_StackOverflow社区se show some way out for it.


Any JScript can be run on the webview, provided we have a script tag embedded in the HTML content rendered on custom webiew created.

Cheers

0

精彩评论

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

关注公众号