Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Loads in Chrome but Not Firefox, why?
    primarykey
    data
    text
    <p>I'm using Django and I have an HTML file, with this line in the <code>head</code> tag:</p> <pre><code>&lt;script type="text/javascript" src="/path/to/jquery.js"&gt;&lt;/script&gt; </code></pre> <p>This works fine in Chrome, but it seems to have no effect in Firefox 3.6.18. (When I type in <code>$</code> or <code>jQuery</code> in the Firefox console, I get an error, whereas Chrome just shows it correctly.) The rest of my scripts can't load because of this.</p> <p>I tried <code>strace</code>, and it seems like the file <em>is</em>, in fact, loaded.</p> <p>What could be causing this?</p> <hr> <h3>More info:</h3> <p>I can't post a lot of the HTML, but some relevant parts:</p> <p>My HTML file (Django templates):</p> <pre><code>{% extends "my_base.html" %} {% load stuff %} {% block head %} {{ block.super }} &lt;script type="text/javascript" src="/media/jquery_listbox/js/jquery-min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/media/jquery_listbox/js/ui.core-min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/media/jquery_listbox/js/ui.dropdownchecklist-min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" type="text/css" href="/media/jquery_listbox/css/ui.dropdownchecklist.css" /&gt; {% endblock %} </code></pre> <p><code>my_base.html</code>:</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt; &lt;link rel="stylesheet" type="text/css" href="default.css"/&gt; {% block head %}{% endblock %} &lt;/head&gt; ... &lt;/html&gt; </code></pre>
    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