I have a button that I want to hide in an HTML page, I cannot figure out how to access an element with no ID nor name.
HTML code:
<INPUT onclick=getAddress2(event,1) class=Design_btn02 style="IME-MODE: active" type=button value="Address">
How can I access the button above?
document.getElementsByTagName('input')[0],document.querySelector('input.Design_btn02')document.getElementsByClassName('Design_btn02')[0]input.Design_btn02. How can I get all the doms that matchinginput.Design_btn02?querySelectorAll().document.getElementById.