mirror of
https://github.com/matthewmueller/x-ray.git
synced 2026-04-03 00:28:41 -06:00
selecting items and handle them sequentially #55
Labels
No labels
bug
bug
docs
duplicated
enhancement
enhancement
enhancement
enhancement
feature
feature
help wanted
question
ready for contributor
stale
tech support
tech support
tech support
tech support
tech support
tech support
tech support
tech support
tech support
tech support
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/x-ray#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moelfassi on 7/13/2019
Subject of the issue
this is my page:
var html ="<div class='time_head'>time_head content1</div>"+ "<div class='blockfix'>blockfix1</div>"+ "<div class='blockfix'>blockfix2</div>"+ "<div class='time_head'>time_head content2</div>"+ "<div class='blockfix'>blockfix3</div>"+ "<div class='blockfix'>blockfix4</div>"+ "<div class='blockfix'>blockfix5</div>";i need to get the results in that order like :
TIME_HEAD CONTENT1----blockfix1----blockfix2TIME_HEAD CONTENT2----blockfix3----blockfix4this what i tried so far:
x(html, {head: ['.time_head'],games: ['.blockfix']})(function (err, obj) {console.log(obj['head']);console.log(obj['games']);});Actual behaviour
but the result is: