javascript - how can i load an iframe using jquery? -


i have problem want load iframe, when insert iframe in page, browser still loads iframe i.e firefox still shows loading bar in top of browser.

i.e.

    $('.data').html('<iframe src ="http://www.muna-abigail.com" width="100%" height="700"  frameborder="0"></iframe>'); 

this still requires browser load, want load using jquery, gives feeling still instant, rather have own loading bar trigger 1 in browsers :))

you can't. browser show loading thing when accessing data external sources. way not show loading thing use ajax (the xmlhttprequest object or activexobject ie).


Comments