title: Disable (and re-enable) the href and onclick on elements
body: <p>I just want to enable / disable onclick and href on elements (a or div).</p>
  
  <p>I don't know how to do this.</p>
  
  <p>I can disable onclick by adding an handler on click event, but the href is still available.</p>
  
  <pre><code> 
  $(this).unbind().click(function(event){
       event.preventDefault();
       return;
  });
  </code></pre>
  
  <p><strong>Edit</strong> FOUND A HACK FOR A ELEMENTS</p>
  
  <pre><code>
  if ($(this).attr("href")) {
       $(this).attr("x-href", $(this).attr("href"));
       $(this).removeAttr("href");
  }
  </code></pre>