Line 6: | Line 6: | ||
toggle between hiding and showing the dropdown content */ | toggle between hiding and showing the dropdown content */ | ||
function myFunction(id) { | function myFunction(id) { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
document.getElementById(id).classList.toggle("show"); | document.getElementById(id).classList.toggle("show"); | ||
} | } |
Revision as of 22:42, 27 October 2017