Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

getElementById()

// Hide div :
document.getElementById(div_id).style.display = none;

/// Show div :
document.getElementById(div_id).style.display = block;
Source by www.journaldunet.fr #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+6 =