title: SignalR is not loaded. Please ensure jquery.sigalR-x.js is referenced before ~/signalr/js
body: <p>I have referenced below two libraries dynamically in my page. When I browse my application below mentioned error did not come in Chrome browser. But in Internet Explorer the error occurs.</p>
  
  <pre><code>var signalRLibrary = document.createElement('script');
  signalRLibrary.type = "text/javascript";
  signalRLibrary.src = 'jquery.signalR-2.1.2.min.js';
  document.getElementsByTagName('head')[0].appendChild(signalRLibrary);
  
  var signlaRHub = document.createElement('script');
  signlaRHub.type = "text/javascript";
  signlaRHub.src = "~/signalr/hubs";
  document.getElementsByTagName('head')[0].appendChild(signlaRHub);
  </code></pre>
  
  <p>During page load I got below error as SignalR is not loaded. Please ensure jquery.signalR-x.js is referenced before ~/signalr/js.</p>
  
  <pre><code>if (typeof ($.signalR) !== "function") {
          throw new Error("SignalR: SignalR is not loaded. Please ensure jquery.signalR-x.js is referenced before ~/signalr/js.");
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zUOIJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zUOIJ.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/LN8sL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LN8sL.png" alt="enter image description here"></a></p>