Reference for setEndPoint msdn

Source: Internet
Author: User

The reference for setEndPoint msdn is:

TextRange. setEndPoint (sType, oTextRange)

OTextRange is another TextRange object

SType is a string type with four options
StartToEnd
StartToStart
EndToStart
EndToEnd

"A text range has two endpoints: one at the beginning of the text range and one at the end ."
Text range has two endpoints. One endpoint is at the beginning and the other is at the end.
<Pre class = "code" id = "ice" rows = "5" cols = "35"> how to delete the row of the cursor in textarea? Just like the row cutting function in Visual Studio. How do I delete the row of the cursor in textarea? Just like the row cutting function in Visual Studio. How do I delete the row of the cursor in textarea? Just like the row cutting function in Visual Studio. </Textarea> <input type = "button" onclick = "delline ()" value = "delete"/>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.