Functiondojo.io.iframe.setSrc

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

Sets the URL that is loaded in an IFrame. The replace parameter indicates whether location.replace() should be used when changing the location of the iframe.

Usage

function (/*DOMNode*/ iframe, /*String*/ src, /*Boolean*/ replace) (view source)
parametertypedescription
iframeDOMNode 
srcString 
replaceBoolean