title: JavaScript runtime error: Unable to get property 'msie' of undefined or null reference
body: <p>I just tried changing my jquery ui references to the master page . I get the error above only on Internet explorer.
  I dont get the error on Firefox and Chrome . </p>
  
  <p>This is the jquery code where the error is thrown :</p>
  
  <pre><code>return a.browser.msie?(b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),b&lt;c?a(window).width()+"px":b+"px"):a(document).width()+"px"},resize:function(){var b=a([]);a.each(a.ui.dialog.overlay.instances,function()
  </code></pre>
  
  <p>I have the master page below : </p>
  
  <pre><code>&lt;head id="Head1" runat="server"&gt;
      &lt;link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css"
          type="text/css" /&gt;
      &lt;asp:ContentPlaceHolder ID="ExtraHeadContent" runat="server"&gt;
      &lt;/asp:ContentPlaceHolder&gt;
  &lt;/head&gt;
  
  
   &lt;form id="form2" runat="server"&gt;
      &lt;asp:ScriptManager ID="ScriptManagerService" runat="server"&gt;
          &lt;Scripts&gt;
              &lt;asp:ScriptReference Path="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ScriptMode="Auto" /&gt;
              &lt;asp:ScriptReference Path="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" ScriptMode="Auto" /&gt;
          &lt;/Scripts&gt;
      &lt;/asp:ScriptManager&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Please let me know what I need to be doing ?
  I tried putting the jquery references in the head section , but the jquery code within my aspx file seems to give an error saying 'dialog' object not defined or 'tooltip' object not defined. I think the jquery library is not getting loaded when I try to put the references in the head section.</p>