here is how the files are structured...
*base.html*
...
{% block nav %}{% endblock %}
{% block content %}{% endblock %}
*template.html*
{% extends "base.html" %}
{% block nav %}
{% include 'nav.html' %}
{% endblock %}
*// works*
$(fun
On 05/05/2014 09:30 AM, Andreas Bloch wrote:
> How do you access (or include) jquery in a file, which is included?
> I'm getting a "Uncaught ReferenceError: $ is not defined" when trying
> to use jquery in the included file...
Is jquery there when you look at the page source ?
>
> In my template, t
How did you use it in the nav.html file? Can you please write it here,
maybe it's a reference issue.
On Monday, May 5, 2014, Andreas Bloch wrote:
> How do you access (or include) jquery in a file, which is included?
> I'm getting a "Uncaught ReferenceError: $ is not defined" when trying to
> use
How do you access (or include) jquery in a file, which is included?
I'm getting a "Uncaught ReferenceError: $ is not defined" when trying to
use jquery in the included file...
In my template, that extends base.html, I am able to use jquery but not the
file I'm including with {% include 'nav.html
4 matches
Mail list logo