Alexis Selves wrote: > Hello, > I am totally helpless. I am trying to use JQuery in my django > templates, but I always get in firebug this: $ not defined. > > In my template I am linking jquery : > <script type="text/javascript" src="jquery/jquery.js"></script> > > where do you have your static files? did you serve them as static files? maybe ur only missing the slash to the js file path like src="/jquery/jquery.js" > And then > <script language="JavaScript" type="text/javascript"> > $(document).ready(function() { > alert("Hello from jQuery"); > }); > </script> > > But I always get nothing.. > using ubuntu 9.10. Thanks for your help in advance. > >
-- 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.