Alex Rivera | Logout

lazy load iframe (delay src http call) with jquery

Asked 2011-08-23T00:03:05.407
18

I am looking for something similar to jQuery image lazy load plugin, but for iframes.

Edit
Report

2 Answers

0

You could always intialize the src attribute to about:blank and then when your click event fires, set the src attribute to the URL you want to navigate to.

answered 2011-08-23T17:15:23.847
0

Can you set the src to about:blank? Like this?

http://jsfiddle.net/MaUfH/

answered 2011-08-23T17:29:56.210

Your Answer