Note that there are some explanatory texts on larger screens.

plurals
  1. PO'JQuery' is undefined
    primarykey
    data
    text
    <p>I am working on a ASP.net project created with local file system settings. I am using MVC and Jquery. Jquery is working fine when I run the application in debug mode i.e. in ASP.net Development server. I am trying to host the application in IIS 7. In hosted mode, it does not recognize Jquery and gives scripting error 'Jquery is undefined'. The locations of the script files is unchanged in both modes. Can anybody have any clue what can be the reason and how to solve this.</p> <p>My code look like this;</p> <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt; &lt;script src="../../Scripts/MicrosoftAjax.debug.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="../../Scripts/MicrosoftMvcAjax.debug.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="../../Scripts/jquery-1.2.6.js" type="text/javascript"&gt;&lt;/script&gt; &lt;!-- YUI Styles --&gt; &lt;link href="../../Content/reset.css" rel="stylesheet" type="text/css" /&gt; &lt;link href="../../Content/fonts.css" rel="stylesheet" type="text/css" /&gt; &lt;link href="../../Content/grids.css" rel="stylesheet" type="text/css" /&gt; &lt;!-- /YUI Styles --&gt; &lt;link href="../../Content/knowledgebase.css" rel="stylesheet" type="text/css" /&gt; &lt;script type="text/javascript"&gt; //this hides the javascript warning if javascript is enabled (function($) { $(document).ready(function() { $('#jswarning').hide(); }); })(jQuery); &lt;/script&gt; &lt;asp:ContentPlaceHolder ID="ScriptContent" runat="server" /&gt; </code></pre> <p> ....</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload