Javascript Reference
Categories: RangeException

javascript RangeException code

@March 15, 2008, 1:22 a.m.
codeFirefox/Netscape/NN n/a IE n/a Chrome/Safari/DOM 1  

Read-only  

Provides the integer corresponding to one of the defined Range object error types, as shown in the following table.

 
CodeConstantMost Likely Cause
1BAD_BOUNDARYPOINTS_ERRThe surroundContents( ) method was applied to a range with a nonapplicable end point
2INVALID_NODE_TYPE_ERRThe method tried to work in a nonapplicable type of node
 
Value

Integer

 
Default

Determined by error.


Powered by Linode.