selectAllChildren method (selectionRange)
Cancels the current selection and selects the child elements of the specified element.
Note: The selectionRange object and its selectAllChildren method are supported in Internet Explorer from version 9.
You can find the related objects in the Supported by objects section below.
|Required. Reference to the element whose children need to be selected.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the selectAllChildren method:
Did you find this example helpful?
User Contributed Comments