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 | 8 | 8 | 0 | 0 | 38-2 | 76-6 | 896-468 | 16 | |
| 2 | 8 | 7 | 0 | 1 | 36-4 | 73-22 | 993-747 | 14 | |
| 3 | 8 | 6 | 0 | 2 | 23-17 | 52-41 | 882-819 | 12 | |
| 4 | 8 | 5 | 0 | 3 | 24-16 | 49-34 | 764-688 | 10 | |
| 5 | 8 | 4 | 0 | 4 | 16-24 | 36-55 | 776-875 | 8 | |
| 6 | 8 | 3 | 0 | 5 | 14-26 | 36-58 | 797-914 | 6 | |
| 7 | 8 | 2 | 0 | 6 | 9-31 | 23-62 | 635-867 | 4 | |
| 8 | 8 | 1 | 0 | 7 | 11-29 | 30-60 | 734-903 | 2 | |
| 9 | 8 | 0 | 0 | 8 | 9-31 | 27-64 | 693-889 | 0 | |