Functiondojo.io.iframe.create

dojo.require("dojo.io.iframe");
defined in dojo/io/iframe.js

Creates a hidden iframe in the page. Used mostly for IO transports. You do not need to call this to start a dojo.io.iframe request. Just call send().

Usage

function (/*String*/ fname, /*String*/ onloadstr, /*String?*/ uri) (view source)
parametertypedescription
fnameStringThe name of the iframe. Used for the name attribute on the iframe.
onloadstrStringA string of JavaScript that will be executed when the content in the iframe loads.
uriStringOptional. The value of the src attribute on the iframe element. If a value is not given, then dojo/resources/blank.html will be used.