Registration for Friendship Cup 2021 : Table Tennis & Carrom ( in association with HSNC )
values.push(checkbox.value); }); if (checkboxes.length == 1) { cc=15; } if (checkboxes.length == 2) { cc=30; } if (checkboxes.length == 3) { cc=45; }; if (checkboxes.length == 4) { cc=60; }; sel1="Events Selected:\n\n"; sel2=values; sel3="\n\nTotal Registration Fees: $"; sel4=cc; sel5="\n\n You will be redirected to Secure Payment Site. Registration is NOT complete until successful payment." if (confirm(sel1.concat(sel2, sel3, sel4, sel5))) { if ( cc == 15 ){ window.open('https://swipesimple.com/links/lnk_bb06573b'); window.reload(); } if ( cc == 30 ){ window.open('https://swipesimple.com/links/lnk_19a747bf'); } if ( cc == 45 ){ window.open('https://swipesimple.com/links/lnk_27b80024'); } if ( cc == 60 ){ window.open('https://swipesimple.com/links/lnk_e37d3c8f'); } } } const btn = document.querySelector('#btn'); btn.addEventListener('click', (event) => { getSelectedCheckboxValues('sport'); window.reload(); });