469Chapter 19 .Body Text Objects (Simple web server) select() Returns: Nothing.
469Chapter 19 .Body Text Objects select() Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . The select() method selects the text inside the boundaries of the current text range. For some operations, such as prompted search and replace, it is helpful to show the user the text of the current range to highlight what text is about to be replaced. In some other operations, especially several commands invoked by execCommand(), the operation works only on a text selection in the document. Thus, you can use the TextRangeobject facilities to set the boundaries, followed by the select()method to prepare the text for whatever command you like. Text selected by the select() method becomes a selectionobject (covered earlier in this chapter). On the Example on the CD-ROM CD-ROM Related Items: selection object. setEndPoint( type , otherRangeRef) Returns: Nothing. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . . In contrast to the moveEnd() method, which adjusts the end point of the current range with respect to characters, words, sentences, and the complete range, the setEndPoint() method sets a boundary of the current range (not necessarily the ending boundary) relative to a boundary of another text range whose reference is passed as the second parameter. The first parameter is one of four types that control which boundary of the current range is to be adjusted and which boundary of the other range is the reference point. Table 19-3 shows the four possible values and their meanings. TextRange.setEndPoint()
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.