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 | 14 | 13 | 0 | 1 | 106-34 | 348-171 | 5132-4210 | 26 | |
| 2 | 14 | 10 | 0 | 4 | 88-52 | 314-230 | 5295-4804 | 20 | |
| 3 | 14 | 9 | 1 | 4 | 80-60 | 294-232 | 4987-4639 | 19 | |
| 4 | 14 | 5 | 1 | 8 | 66-74 | 257-273 | 4911-4817 | 11 | |
| 5 | 14 | 5 | 1 | 8 | 56-84 | 214-288 | 4228-4677 | 11 | |
| 6 | 14 | 4 | 2 | 8 | 62-78 | 249-277 | 4661-4919 | 10 | |
| 7 | 14 | 4 | 1 | 9 | 55-85 | 216-292 | 4324-4828 | 9 | |
| 8 | 14 | 2 | 2 | 10 | 47-93 | 198-327 | 4454-5098 | 6 | |