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 | 1 | 0 | 27-13 | 92-61 | 1557-1396 | 7 | |
| 2 | 4 | 3 | 0 | 1 | 26-14 | 95-66 | 1611-1422 | 6 | |
| 3 | 4 | 1 | 1 | 2 | 14-26 | 66-91 | 1378-1513 | 3 | |
| 4 | 4 | 1 | 0 | 3 | 18-22 | 68-78 | 1297-1341 | 2 | |
| 5 | 4 | 0 | 2 | 2 | 15-25 | 67-92 | 1395-1566 | 2 | |