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 | 5 | 4 | 0 | 1 | 15-10 | 50-36 | 770-634 | 8 | |
| 2 | 5 | 3 | 0 | 2 | 17-8 | 53-27 | 658-594 | 6 | |
| 3 | 5 | 3 | 0 | 2 | 14-11 | 48-42 | 852-714 | 6 | |
| 4 | 5 | 2 | 0 | 3 | 11-14 | 35-52 | 580-796 | 4 | |
| 5 | 5 | 2 | 0 | 3 | 10-15 | 37-51 | 757-746 | 4 | |
| 6 | 5 | 1 | 0 | 4 | 8-17 | 38-53 | 754-887 | 2 | |