Issue
I'm locally storing my two webviews(html file). and I displayed two webview in same activity. I trying to communicate two webviews.e.g.:
Webview1:
<input type="button" onclick="displayInSecondWebview()" value="Click Here"/>
Webview 2:
function displayInSecondWebview(){
//code to display
}
Two webview(html file) has same javascript file. But it's doesn't work. Is there ways to achieve that?
Solution
Window.postMessage was designed for doing this.
Answered By - jpw
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.