title: Disable div using Jquery
body: <p>I have the event <code>onClick=window.location.href = 'some url stored in div</code>.</p>
  
  <p><code>Div</code> contains images as well as text. </p>
  
  <p>I want to show preview using this <code>div</code>, but want clicking disabled on this <code>div</code> because it is taking to the specified location. </p>
  
  <p>I tried it like this:</p>
  
  <pre><code>("#preview").disabled= true;
  ("#preview").disabled= 'disabled';
  ("#preview").children().disabled= true;
  ("#preview").children().disabled= 'disabled';
  </code></pre>
  
  <p>But none of this is working in <code>firefox 3.6</code>. Somebody please help to solve this problem.</p>