You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Robbie Chipka edited this page Dec 23, 2015
·
1 revision
The :range selector inclusively selects results with a range defined by two numeric arguments. The first argument is the starting position and the last argument is the last node position.
###Usage
document.querySelectorAll('a:range(3, 5)');// select the 3rd through 5th <a> element