javascript selection type
| type | NN n/a IE 4(Win) DOM n/a |
| Read-only | |
|
Specifies whether the current selection object has one or more characters selected or is merely an insertion point. |
|
| Example | |
if (document.selection.type == "Text") {
...
}
|
|
| Value | |
One of three constant values (as a string): None | Text | Control. The last one is possible only when HTML editing is engaged and control selections are possible. |
|
| Default | |
None |
|
Previous: javascript selection typeDetail
1742,Nickname,Homepage or email,Comments here,Add comment
