July 1998
Intermediate to advanced
1456 pages
65h 5m
English
collapse( ) — NN n/a IE 4 DOM n/a
collapse([start])
Reduces the TextRange object to a length of zero
(creating an insertion point) at the beginning or end of the text
range before it collapsed.
None.
start
Optional Boolean value controls whether the insertion point goes to
the beginning (true) of the original range or the
end (false). The default value is
true.
Read now
Unlock full access