javascript Range collapsed
@March 15, 2008, 1:22 a.m.
collapsed | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2 |
Read-only | |
Returns Boolean true if the range's start and end points are at the same location, encompassing zero characters. A collapsed range can be located anywhere within the document. |
|
Example | |
if (rng.collapsed) { // act on collapsed text range } |
|
Value | |
Boolean value: true | false. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/range-collapsed.aspx
Powered by Linode.