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

Chapter 6. Using Core HTML Methods and Events > The replaceAdjacentText Method

The replaceAdjacentText Method

The replaceAdjacentText method is much like the insertAdjacentText method, discussed earlier in this chapter, except that this method enables you to replace text rather than insert it. You can see the support for this method in Table 6.43.

Table 6.43. The replaceAdjacentText Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
replaceAdjacentText(position, text)        x x x
  Returns: String



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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