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() { |
var dropdowns = document.getElementsByCLassName("dropdown-content"); | var dropdowns = document.getElementsByCLassName("dropdown-content"); | ||
var i; | var i; |
Revision as of 06:32, 27 October 2017