Created
November 27, 2018 10:21
-
-
Save mAu888/b373c6bb27a0966b270a466a3d038052 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unselect all territories | |
$('.mat-option.mat-selected').click() | |
// Select all territories that are listed in the array | |
$('.mat-option').filter((idx, el) => { return ["Austria"].indexOf(el.children[1].textContent) != -1 }).click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment