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();
});
"
>
Played matches
| Team | M | W | D | L | Matches | Sets | Balls | P | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 5 | 5 | 0 | 0 | 30-3 | 38-14 | 537-438 | 10 | |
| 2 | 5 | 4 | 0 | 1 | 26-12 | 11-20 | 271-313 | 8 | |
| 3 | 5 | 3 | 0 | 2 | 20-14 | 36-14 | 504-409 | 6 | |
| 4 | 5 | 2 | 0 | 3 | 18-21 | 53-32 | 836-713 | 4 | |
| 5 | 5 | 1 | 0 | 4 | 7-28 | 17-26 | 320-413 | 2 | |
| 6 | 5 | 0 | 0 | 5 | 7-30 | 22-71 | 777-959 | 0 | |