title: Why my jquery don't take that classes of this iframe?
body: <p>I'm trying to get all classes whose name is &quot;titular_portada&quot;.</p>
  <p>There are a lot, but for some reason is not working:</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang=&quot;es&quot;&gt;
  &lt;head&gt;
      &lt;link rel=&quot;stylesheet&quot; href=&quot;css/styles.css&quot;&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;iframe src=&quot;https://vandal.elespanol.com&quot; id=&quot;iframe&quot; width=&quot;100%&quot; height=&quot;100%&quot;&gt;&lt;/iframe&gt;
      &lt;script src=&quot;js/jquery-3.6.0.js&quot;&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <pre><code>$(window).on(&quot;load&quot;, function() {
      $(&quot;#iframe &gt; .titulo_portada&quot;).each((i, el) =&gt; {
          console.log(el);
      });
  });
  </code></pre>