Hi, All...

Experienced engineer, new to Django.

In a sample Web app that I'm developing, I have a basic template that
includes (attempts to) a javascript file:

<html>
<head>
<script type="text/javascript" src="/scripts/test.js">
</script>
</head>
<body>
<h1>Header</h1>
<h2>Subheader</h2>
{% block content %}
{% endblock %}
</body>
</html>

When this template is rendered, the resulting HTML page contains the
script tag, but the functions inside the script tag cannot be found,
i.e., when I call invoke them the browser acts as if is cannot find
the functions.

Ideas?

Thanks,
John

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to