some month ago i work to make a interactive web with javascript but when i copy the project to my patner which use Apple Mac Pro then the interactive is not active. So i use another try change
function showDiv(tahun){
document.getElementById(tahun).style = "display:none;";
}
to
function showDiv(tahun){
tahun.style.display = "block";
}
but it doesn't work...
so i write manual every div
<a onclick="showDiv2013_2014">Show</a>
function showDiv2013_2014(){
tahun_2013_2014.style.display = "block";
}
function showDiv2014_2015(){
tahun_2014_2015.style.display = "block";
}
The project was done but i want to know what the problem is...