Skip to content
premasagar edited this page Sep 13, 2010 · 14 revisions

Except where otherwise stated, all methods return the AOMI object itself, to allow method chaining.

body()

Returns the body element of the iframe’s document (as a jQuery collection).

body(contents, [emptyFirst])

  • contents will be appended to the iframe’s <body> element. May be an HTML string, DOM node, jQuery collection, or selector.
  • emptyFirst is an optional boolean (default false). If true, the body element will first be emptied of all child nodes.

head()

  • contents will be appended to the iframe’s <head> element. May be an HTML string, DOM node, jQuery collection, or selector.
  • emptyFirst is an optional boolean (default false). If true, the head element will first be emptied of all child nodes.

$()

doctype()

document()

window()

location()

contents()

title()

style()

resize()

Clone this wiki locally