title: How to fix the jquery url.indexOf function not defined at jQuery.fn.init.jQuery?
body: <p>I have developed a web application application in MVC using jQuery.</p>
  
  <p>Now I am getting this error again and again. I don't know what I am missing right now.</p>
  
  <p>Can anyone guide me about this?</p>
  
  <p>It throws this error message in browsers' console:</p>
  
  <blockquote>
    <p>jQuery.Deferred exception: url.indexOf is not a function TypeError: url.indexOf is not a function</p>
    
    <p>at jQuery.fn.init.jQuery.fn.load (<a href="http://localhost:5713/Scripts/jquery-3.1.1.js:9793:13" rel="noreferrer">http://localhost:5713/Scripts/jquery-3.1.1.js:9793:13</a>)<br>
    at HTMLDocument. (<a href="http://localhost:5713/Theme/js/main.js:27:12" rel="noreferrer">http://localhost:5713/Theme/js/main.js:27:12</a>)<br>
    at mightThrow (<a href="http://localhost:5713/Scripts/jquery-3.1.1.js:3570:29" rel="noreferrer">http://localhost:5713/Scripts/jquery-3.1.1.js:3570:29</a>)<br>
    at process (<a href="http://localhost:5713/Scripts/jquery-3.1.1.js:3638:12" rel="noreferrer">http://localhost:5713/Scripts/jquery-3.1.1.js:3638:12</a>) undefined jQuery.Deferred.exceptionHook @ jquery-3.1.1.js:3846<br>
    jquery-3.1.1.js:3855 Uncaught TypeError: url.indexOf is not a function<br>
    at jQuery.fn.init.jQuery.fn.load (jquery-3.1.1.js:9793)<br>
    at HTMLDocument. (main.js:27)<br>
    at mightThrow (jquery-3.1.1.js:3570)<br>
    at process (jquery-3.1.1.js:3638)</p>
  </blockquote>