title: Android WebView - access classes from one iframe inside another iframe
body: <p>We have a native ios application, which displays a web view with HTML web page and two iframes. Inside those iframes, we display our articles from HTML files located in resources of the app. Inside the articles, there are often javascript scripts which operate on both articles at the same time. For example, make some part of the text bold. To do this, it lists all of the elements with a particular class and modify its CSS style.</p>
  
  <pre><code>$(".question").length()
  </code></pre>
  
  <p>would return the number of elements with class <code>.question</code> in both iframes on iOS, where it would only return elements from current iframe on Android. By "current" I mean the one that user interacted with to start the script.</p>
  
  <p>We have a requirement to also release an android app.
  It all went fine, until I tested an article, where javascript has to operate on both iframes. Unfortunately, it can only access elements from one iframe.</p>
  
  <p>Is there any way I could make it work without changing the code of the javascripts attached to the articles? I have no authority there [besides it could be thousands of articles with plenty of custom javascripts to update].</p>
  
  <p>Thank you</p>