topical media & game development

talk show tell print

#javascript-code-12-parentnode.js / js



  // Watch for when a link is clicked (e.g. a Cancel link)
  // and hide the parent element
  document.getElementById(“cancel”).onclick = function(){
      this.parentNode.style.display = ‘none’;
  };
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.