object.insertAdjacentHTML(sWhere, sText)
Parameters
sWhere
Required. String that specifies where to insert
the HTML text, using one of the following values:
beforeBegin Inserts sText immediately before the object.
afterBegin Inserts sText after the start of the
object but before all other content in the object.
beforeEnd Inserts sText immediately before the end of
the object but after all other content in the object.
afterEnd Inserts sText immediately after the end of
the object.
sText
Required. String that
specifies the HTML text to insert. The string can be
a combination of text and HTML tags. This must be
well-formed, valid HTML or this method will fail.
Return Value