How can I change the src value on an iframe dynamically (or just insert a new iframe) without triggering the loading spinner? I know how to do that using window.onload, but with buttons, I did not find any. For example, see this blog (click the "reply" button!) Using setTimeout does not work.
srcvalue on an iframe dynamically (or just insert a new iframe) without triggering the loading spinner? I know how to do that usingwindow.onload, but with buttons, I did not find any.For example, see this blog (click the "reply" button!)
Using
setTimeoutdoes not work.Works except in Google Chrome :D
http://jsfiddle.net/kw7LD/88/