Re: Django with Jquery
link to the Google jQuery instead of a local file (it's really fast
too)
<script type="text/javascript" src="http://google.com/jsapi" />
<script type="text/javascript">
google.load('jquery','1.3.2');
</script>
On Mar 1, 8:13 am, Romain Gaches <romain-dja...@ssji.net> wrote:
> Le 28 févr. 2010 à 18:39, Alexis Selves a écrit :
>
> > Hello,
> > I am totally helpless. I am trying to use JQuery in my django
> > templates, but I always get in firebug this: $ not defined.
>
> Did you try with 'jQuery' instead of '$' ?
> If jQuery.no_conflict() was called, the $ variable isn't defined.
>
> I always call no_conflict() to prevent any namespace collision with other JS Frameworks, especially with re-usable or partial code.
>
> --
> Romain Gaches
> rom...@ssji.net
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home