set:trailing() returns the nodes in one node-set that come after the first node in the other node-set.
Syntax
set:trailing(nodeSet1, nodeSet2)
Parameters
nodeSet1- The node set to find nodes in that follow the first node in the second node set.
nodeSet2- The node set to compare against.
Returns
A node-set containing the nodes from nodeSet1 whose values follow the first node in nodeSet2.
Note: If the first node in nodeSet2 isn't contained in nodeSet1, an empty set is returned. If nodeSet2 is empty, then the result is nodeSet1.
Specifications
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
set:trailing() | Chrome ? | Edge ? | Firefox Full support 3 | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android Full support 4 | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
