• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Core HTML Methods and E... > The insertAdjacentHTML and insertAdj...

The insertAdjacentHTML and insertAdjacentText Methods

The insertAdjacentHTML and insertAdjacentText methods are cornerstones of Dynamic HTML; these methods enable you to insert HTML and text into a web page. You can see the support for this method in Table 6.30.

Table 6.30. The insertAdjacentHTML and insertAdjacentText Methods
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
insertAdjacentHTML(position, HTML)       x x x x
  No return value
insertAdjacentText(position, text)       x x x x
  No return value



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint