Line 5: | Line 5: | ||
/* When the user clicks on the button, | /* When the user clicks on the button, | ||
toggle between hiding and showing the dropdown content */ | toggle between hiding and showing the dropdown content */ | ||
− | function myFunction() { | + | function myFunction(id) { |
document.getElementById("myDropdown").classList.toggle("show"); | document.getElementById("myDropdown").classList.toggle("show"); | ||
} | } |
Revision as of 06:35, 27 October 2017