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 | 4 | 3 | 0 | 1 | 14-6 | 47-30 | 734-683 | 6 | |
| 2 | 4 | 3 | 0 | 1 | 12-8 | 41-29 | 682-533 | 6 | |
| 3 | 4 | 2 | 0 | 2 | 10-10 | 39-38 | 693-702 | 4 | |
| 4 | 4 | 2 | 0 | 2 | 9-11 | 33-40 | 612-670 | 4 | |
| 5 | 4 | 0 | 0 | 4 | 5-15 | 25-48 | 602-735 | 0 | |