• 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 insertAdjacentElement Method

The insertAdjacentElement Method

The insertAdjacentElement method enables you to insert a new element into a web page. You can see the support for this method in Table 6.29.

Table 6.29. The insertAdjacentElement Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
insertAdjacentElement(position, element)        x x x
  Returns: Object



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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