Note that there are some explanatory texts on larger screens.

plurals
  1. PO$.browser is undefined error
    text
    copied!<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/9638247/is-jquery-browser-deprecated">Is jQuery $.browser Deprecated?</a><br> <a href="https://stackoverflow.com/questions/14505301/jquery-latest-browser">jQuery latest $.browser</a> </p> </blockquote> <p>In a code I am using JQuery is loading. I have gone through all the files that should be loaded, but I can't find where JQuery is loaded. I need to include a second JQuery-script in order that a file which I include should work properly, since the first script is loading to late. However, this leads to other errors, since definitions are overwritten when the first JQuery-file is loading (the one I haven't declared). So now I am trying to use jQuery.noConflict in order to fix this.</p> <p>Here are some example of usages in my code:</p> <pre><code>&lt;script&gt; var $jquery190 = jQuery.noConflict(); &lt;/script&gt; jQuery.noConflict(); (function($) { //$(function() { // more code using $ as alias to jQuery //}); $.fn.setupSpinner = function () { $(this) .ajaxStart(function () { $(this).show(); }) .ajaxStop(function () { $(this).hide(); }) ; return this; }; })(jQuery); $jquery190(config.ids.datepicker + ", " + config.ids.todatepicker).datepicker("disable"); $jquery190(config.ids.datepicker + ", " + config.ids.todatepicker).datepicker("setDate", "-2d"); $jquery190(config.ids.datepicker + ", " + config.ids.todatepicker).datepicker("enable"); // $(config.ids.datepicker + ", " + config.ids.todatepicker).datepicker("hide"); </code></pre> <p>After doing some of these replacements I get the error:</p> <pre><code>TypeError: $.browser is undefined [Break On This Error] ...= buttonPanel + ($.browser.msie &amp;&amp; parseInt($.browser.version,10) &lt; 7 &amp;&amp; !inst.i... </code></pre> <p>The website is found here: <a href="http://www.roros.kommune.no/Politikk/Postliste/Journalpost-info1/" rel="nofollow noreferrer">Link</a> What is the cause of this and how do I resolve this?</p>
 

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