Dane dane.s@eventcaddy.com
How much would you like to donate?
Classic: | Wednesday December 31, 2025
Gold Sponsorship Includes:
document.getElementById('playerCount').addEventListener('change', function() { let playerCount = parseInt(this.value); // Update the player count in the benefits list let playerItem = document.querySelector('.players-item'); playerItem.textContent = `${playerCount} Player${playerCount > 1 ? 's' : ''}`; // Update other related items if necessary (e.g., Mulligans, Hats) let mulliganItem = document.querySelector('#benefits-list li:nth-child(2)'); mulliganItem.textContent = `${playerCount} Mulligans`; let hatItem = document.querySelector('#benefits-list li:nth-child(3)'); hatItem.textContent = `${playerCount} Hats`; // Loop through player sections and update visibility for (let i = 1; i <= 4; i++) { let playerSection = document.getElementById(`collapse${i}`); let playerHeader = playerSection.parentElement; // h5.player and its div container if (i <= playerCount) { playerHeader.style.display = 'block'; playerSection.style.display = 'block'; } else { playerHeader.style.display = 'none'; playerSection.style.display = 'none'; } } }); // Trigger change event on page load to set the correct initial state document.getElementById('playerCount').dispatchEvent(new Event('change'));