title: How to remove event of an element that was declared by an anonymous function?
body: <p>Example code:</p>
  <pre><code>element.addEventListener('click',function () {
    this.style.backgroundColor = '#cc0000'
    //after element was clicked once what to do here to remove this event ?
  },false)
  </code></pre>
  <p>And where to do it, is it possible directly in function where I put the comment?</p>