I use jQuery most of the time, so I am having a bit of trouble with the following (simple) javascript:
I want to dismiss(hide) the parent element of a p tag when cli
http://jsfiddle.net/CUqmn/4/
function dismiss(){ document.getElementById('dismiss').parentNode.style.display='none'; };
BTW, as jsfiddle wrap javascript code in loader function, use no wrap in left select box to get it work on jsfiddle.