title: Object doesn't support property or method 'indexOf'
body: <p>I am using the below code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;script src="jquery-3.2.0.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script type="text/javascript"&gt;
          $(window).load(function () {
              alert('Window loaded');
          });
  
          $(document).ready(function () {
              alert('DOM Loaded and ready');
          });
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Its so simple, yet I am getting the error </p>
  
  <pre><code> "Object doesn't support property or method 'indexOf'".
  </code></pre>
  
  <p>I am using Internet Explorer</p>
  
  <p>What is the reason for it?</p>