title: Microsoft JScript runtime error: Unable to get value of the property 'defaultView': object is null or undefined
body: <p>i have the following script inside my asp.net mvc:-</p>
  
  <pre><code>function deleteconfirmation() {
  
      jAlert('The Answer was deleted succsfully', 'Deletion Confirmation');
      $(this).fadeOut('slow', function () { $(this).remove(); });
  
  }
  </code></pre>
  
  <p>but when it is executed it will return the following error "Microsoft JScript runtime error: Unable to get value of the property 'defaultView': object is null or undefined" on the <code>if(!(e=a.ownerDocument.defaultView))</code> inside the jquery-1.6.2.min.js.
  Hint:- this error will only occur if i am using IE , it will not occur if i am using chrome or firefox!!!!
  So what might be causing this ?
  BR </p>