Node.js examples for DOM:Element
Show a DOM element
function show(name) { if(name != null) { console.log(name);/*from w w w .j av a 2 s.c o m*/ window.document.getElementById(name).style.display = 'block'; } else { alert(name); } }