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 | 2 | 2 | 0 | 0 | 16-9 | 59-45 | 996-930 | 4 | |
| 2 | 2 | 1 | 0 | 1 | 12-13 | 51-53 | 983-987 | 2 | |
| 3 | 2 | 0 | 0 | 2 | 10-16 | 50-62 | 1012-1074 | 0 | |