with queryparam 't' to t=tabname
$refs.levels?.querySelectorAll('a').forEach(link => {
const url = new URL(link.href);
if(url.searchParams.get('t')){
url.searchParams.set('t', tabname);
}
link.href = url.toString();
});
"
>
Player stats
Played matches
| Team | M | W | D | L | Matches | Sets | Balls | P | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 9 | 9 | 0 | 0 | 39-6 | 80-17 | 1021-678 | 18 | |
| 2 | 9 | 7 | 0 | 2 | 29-16 | 66-39 | 1038-860 | 14 | |
| 3 | 9 | 6 | 0 | 3 | 24-21 | 55-49 | 952-931 | 12 | |
| 4 | 9 | 5 | 0 | 4 | 24-21 | 53-51 | 946-923 | 10 | |
| 5 | 9 | 5 | 0 | 4 | 23-22 | 52-53 | 973-931 | 10 | |
| 6 | 9 | 4 | 0 | 5 | 23-22 | 53-51 | 930-969 | 8 | |
| 7 | 9 | 4 | 0 | 5 | 21-24 | 51-51 | 927-897 | 8 | |
| 8 | 9 | 2 | 0 | 7 | 19-26 | 42-58 | 723-948 | 4 | |
| 9 | 9 | 2 | 0 | 7 | 14-31 | 35-66 | 903-980 | 4 | |
| 10 | 9 | 1 | 0 | 8 | 9-36 | 25-77 | 723-1019 | 2 | |