Hi guys,

here is my issue: I have 4 tables wrapped on divs and a function that can hide or show the divs , however, I want to be able to show the divs based on a select menu value. ie. 3 = displays 3 divs
My select menu name and id i= noPlayers

here is my function to hide or show the divs:
Code:
function hideElement(id) {
 document.getElementById(id).style.display = 'none'; 
}
function showElement(id) {
 document.getElementById(id).style.display = 'block'; 
}
Thanks in advance guys.

Javier