I would like to create an on the page, but then add the src later. If I make an iframe without an src attribute, then it lo
src
Standard approach when creating an "empty" iframe (as an iframe shim, for example), is to set the src as javascript:false;. This is the method used by most of the JavaScript libraries that create iframe shims for you (e.g. YUI's Overlay).
javascript:false;