Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

name property

Returns a DOMString value that is the name of the error that occurred during a Range operation.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
sErrorName = object.name

 

Property values

Type: DOMString

The name of the specific RangeException that occured.

Remarks

Range exception also supports a code value. The following table shows the code associated with the specific RangeException:

Code valueName value
1BadBoundarypointsError
2InvalidNodeTypeError

 

See also

RangeException

 

 

Show:
© 2015 Microsoft