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

The Range Object

The Internet Explorer’s TextRange object is a fairly popular one, and the W3C has been working to generalize that object into the Range object—which the Internet Explorer does not (yet) implement. Range objects are more general than text ranges—they can contain ranges of HTML from a Web page, including elements and text. Using this object gives you a way to cut up documents in other ways besides using W3C node trees, which some programmers find hard to work with.

To some extent, the Range object has been implemented in Netscape Navigator 6. You can see the properties and methods of this object in that browser in Table 11.19 in overview, and in Tables11.20 and 11.21 in depth.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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