dojo/request/iframe

Summary

Sends a request using an iframe element with the given URL and options.

Usage

iframe(url,options);
Parameter Type Description
url String

URL to request

options dojo/request/iframe.__Options
Optional

Options for the request.

Returns: dojo/request.__Promise

See the dojo/request/iframe reference documentation for more information.

Properties

Methods

create(name,onloadstr,uri)

Defined by dojo/request/iframe

Parameter Type Description
name undefined
onloadstr undefined
uri undefined

Returns: undefined

doc(iframeNode)

Defined by dojo/request/iframe

Parameter Type Description
iframeNode undefined

Returns: undefined | null

get(url,options)

Defined by dojo/request/iframe

Send an HTTP GET request using an iframe element with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/iframe.__BaseOptions
Optional

Options for the request.

Returns: dojo/request.__Promise

post(url,options)

Defined by dojo/request/iframe

Send an HTTP POST request using an iframe element with the given URL and options.

Parameter Type Description
url String

URL to request

options dojo/request/iframe.__BaseOptions
Optional

Options for the request.

Returns: dojo/request.__Promise

setSrc(_iframe,src,replace)

Defined by dojo/request/iframe

Parameter Type Description
_iframe undefined
src undefined
replace undefined

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/request/iframe.html