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 | 9 | 0 | 1 | 56-23 | 188-97 | 2816-2345 | 18 | |
| 2 | 10 | 8 | 1 | 1 | 57-18 | 184-85 | 2653-2058 | 17 | |
| 3 | 10 | 5 | 2 | 3 | 47-35 | 165-121 | 2608-2236 | 12 | |
| 4 | 10 | 3 | 2 | 5 | 39-47 | 146-167 | 2796-2840 | 8 | |
| 5 | 10 | 1 | 1 | 8 | 20-57 | 85-186 | 2114-2629 | 3 | |
| 6 | 10 | 0 | 2 | 8 | 19-58 | 73-185 | 1661-2540 | 2 | |