Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Inserts the given text into the element at the specified location.
Syntax
object .insertAdjacentText( sWhere , sText )Parameters
sWhere | Required. String that specifies where to insert the text, using one of the following values:
|
||||||||
sText | Required. String that specifies the text to insert. |
Return Value
No return value.
Remarks
The text inserted into the element is plain text
You cannot insert text while the document loads. Wait for the onload event to fire before attempting to call this method.
Standards Information
There is no public standard that applies to this method.
Applies To
|
A , ADDRESS , AREA , B , BASEFONT , BIG , BLOCKQUOTE , BODY , BUTTON , CAPTION , CENTER , CITE , CODE , COMMENT , CUSTOM , DD , DFN , DIR , DIV , DL , DT , EM , FIELDSET , FONT , FORM , FRAMESET , hn , HR , I , IFRAME , IMG , INPUT type=button , INPUT type=checkbox , INPUT type=file , INPUT type=hidden , INPUT type=image , INPUT type=password , INPUT type=radio , INPUT type=reset , INPUT type=submit , INPUT type=text , KBD , LABEL , LEGEND , LI , LISTING , MAP , MARQUEE , MENU , NOBR , OL , OPTION , P , PRE , S , SAMP , SELECT , SMALL , SPAN , STRIKE , STRONG , SUB , SUP , TD , TEXTAREA , TH , TT , U , UL , VAR |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |