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
Show All| Team | M | W | D | L | Matches | Sets | Balls | P | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 10 | 8 | 0 | 2 | 51-22 | 167-105 | 2631-2340 | 16 | |
| 2 | 10 | 7 | 0 | 3 | 52-32 | 189-135 | 3076-2752 | 14 | |
| 3 | 10 | 5 | 2 | 3 | 44-38 | 161-150 | 2877-2775 | 12 | |
| 4 | 10 | 5 | 1 | 4 | 46-35 | 162-134 | 2582-2637 | 11 | |
| 5 | 10 | 2 | 0 | 8 | 23-52 | 107-175 | 2425-2714 | 4 | |
| 6 | 10 | 1 | 1 | 8 | 20-57 | 106-193 | 2587-2960 | 3 | |