How to apply jQuery methods to a javascript declared variable?
<p>I declare:</p>

<p><code>var iframe = document.createElement("iframe");</code></p>

<p>now I want to use this var <code>iframe</code> in order to apply jQuery methods:</p>

<pre><code>    $("iframe").on("load", function () {
        // DO SOMETHING
    });
</code></pre>

<p>Like this does not work. How must I reference my <code>iframe</code>var</p>

<p>UPDATE: I CAN NOT change the <code>iframe</code> declaration method.</p>
