Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/io/iframe.js

  • Provides:

    • dojo.io.iframe
  • dojo.io.iframe.__ioArgs

    • type
      Function
    • chains:
      • dojo.__IoArgs: (prototype)
      • dojo.__IoArgs: (call)
    • summary
      All the properties described in the dojo.__ioArgs type, apply
      to this type. The following additional properties are allowed
      for dojo.io.iframe.send():
  • dojo.io.iframe.__ioArgs.constructor

    • constructor - constructor
    • type
      Function
    • summary
      All the properties described in the dojo.__ioArgs type, apply
      to this type. The following additional properties are allowed
      for dojo.io.iframe.send():
  • dojo.io.iframe.__ioArgs.method

    • optional
    • type
      String
    • summary
      The HTTP method to use. "GET" or "POST" are the only supported
      values.  It will try to read the value from the form node's
      method, then try this argument. If neither one exists, then it
      defaults to POST.
  • dojo.io.iframe.__ioArgs.handleAs

    • optional
    • type
      String
    • summary
      Specifies what format the result data should be given to the
      load/handle callback. Valid values are: text, html, xml, json,
      javascript. IMPORTANT: For all values EXCEPT html and xml, The
      server response should be an HTML file with a textarea element.
      The response data should be inside the textarea element. Using an
      HTML document the only reliable, cross-browser way this
      transport can know when the response has loaded. For the html
      handleAs value, just return a normal HTML document.  NOTE: xml
      is now supported with this transport (as of 1.1+); a known issue
      is if the XML document in question is malformed, Internet Explorer
      will throw an uncatchable error.
  • dojo.io.iframe.__ioArgs.content

    • optional
    • type
      Object
    • summary
      If "form" is one of the other args properties, then the content
      object properties become hidden form form elements. For
      instance, a content object of {name1 : "value1"} is converted
      to a hidden form element with a name of "name1" and a value of
      "value1". If there is not a "form" property, then the content
      object is converted into a name=value&name=value string, by
      using dojo.objectToQuery().
  • dojo.io.iframe

    • summary
      Sends an Ajax I/O call using and Iframe (for instance, to upload files)
    • type
      Object
  • dojo.io.iframe.create

    • parameters:
      • fname: (typeof String)
        The name of the iframe. Used for the name attribute on the
        iframe.
      • onloadstr: (typeof String)
        A string of JavaScript that will be executed when the content
        in the iframe loads.
      • uri: (typeof String)
        The value of the src attribute on the iframe element. If a
        value is not given, then dojo/resources/blank.html will be
        used.
    • summary
      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().
    • type
      Function
  • dojo.io.iframe.setSrc

    • parameters:
      • iframe: (typeof DOMNode)
      • src: (typeof String)
      • replace: (typeof Boolean)
    • summary
      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.
    • type
      Function
  • dojo.io.iframe.doc

    • parameters:
      • iframeNode: (typeof DOMNode)
    • summary
      Returns the document object associated with the iframe DOM Node argument.
    • type
      Function
  • dojo.io.iframe.send

    • parameters:
      • args: (typeof dojo.io.iframe.__ioArgs)
    • summary
      Function that sends the request to the server.
      This transport can only process one send() request at a time, so if send() is called
      multiple times, it will queue up the calls and only process one at a time.
    • type
      Function
  • dojo.io.iframe.send._frame

    • type
      Object
  • dojo.io.iframe._currentDfd

    • type
      Object
  • dojo.io.iframe._dfdQueue

    • type
      Array
  • dojo.io.iframe._iframeName

    • type
      String
  • dojo.io.iframe._fireNextRequest

    • summary
      Internal method used to fire the next request in the bind queue.
    • type
      Function
  • dojo.io.iframe._fireNextRequest._currentDfd

    • type
      Object
  • dojo.io.iframe._iframeOnload

    • type
      Function
  • dojo.io.iframe._iframeOnload._currentDfd

  • dojo.io.iframe._iframeOnload._currentDfd.ioArgs

  • dojo.io.iframe._iframeOnload._currentDfd.ioArgs.args

  • dojo.io.iframe._iframeOnload._currentDfd.ioArgs._contentToClean

  • dojo.io.iframe._iframeOnload._currentDfd.ioArgs._finished

    • type
      Object
  • dojo.config.dojoBlankHtmlUrl

    • alias - uri
    • type
      Object
  • dojo.io

    • type
      Object
  • dojo

    • type
      Object