Membuat Teks Area Buka Tutup
<div style="margin-top: 5px; text-align: center;"><input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Tutup'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Buka'; }" style="font-size: 10px; margin-top: 5px; width: 60px;" value="Buka" type="button"> </div><div style="border: 1px inset ; margin: 0px; padding: 6px;"><div style="display: none;"> ISI TEKS DI SINI </div></div></div>