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

The insertBefore Method

The insertBefore method enables you to insert a W3C node before another node. You can see the support for this method in Table 6.31.

Table 6.31. The insertBefore Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
insertBefore(node [, refNode])    x    x x x
  Returns: Node



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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