Here's how to toggle a div element display by using button onclick event. ... btn.onclick = function () { if (targetDiv.style.display !==
確定! 回上一頁