Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript onclick display none

/* ---- Answear ---- */
document.getElementById("element").style = 'display: none'

/* ---- Description ---- */
/* Grab element with id of "element" */
// document.getElementById("element") 

/* Grab style attribute for our element */
// document.getElementById("element").style

/* Change style attribute for our element */
// document.getElementById("element").style = 'display: none'
 
PREVIOUS NEXT
Tagged: #javascript #onclick #display
ADD COMMENT
Topic
Name
4+4 =