Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

InsertAdjacentText() Syntax, Parameters and Note

Note: Inserts text into the specified position.      Syntax:      document.all.elementID.insertAdjacentText(param1, param2) Parameters:     param1   Required;               beforeBegin          just before the beginning of the element              afterBegin           just after the beginning of the element              beforeEnd            just before the end of the element              afterEnd             just after the end of the element     param2   Required; the text to be inserted.