Iframe without src - Can I do this?

I want to make another "context" in my html page. For example, the page loaded by iframe. Now, what I would like to do is use an iframe, but without src.

Sort of:

 <iframe allowtransparency="true" frameborder="0" scrolling="no" style="width:300px; height:20px;">
    <html>
        <head></head>
        <body>
            <div>
                Hello World
            </div>            
        </body>    
     </html>
</iframe>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

I need this because I do not use ajax, and I need a script load that can cause some problems in the same page context (as I wrote yesterday on SO).

+5
source share
1 answer

This seems to be impossible :(, the only way to create a separate html file.

Source: http://stackprogramer.com/7276457/is-it-possible-to-create-iframe-without-src-but-with-my-html

+2
source

All Articles