[Answer]-JQuery elements not appearing on Django page

1👍

Three things:

  1. Can you find the jquery file at the {{static_url}}/static…. path? If you’ve set your static_url to be /static/, you don’t need the /static added again.

  2. You’ve declared more jquery in your Slider widget, but its a different path and version to your declaration in your template, so you’ll get a clash.

  3. Don’t declare your jquery file as you have done – put it in the head of the doc, then wite your ad-hoc script using the $(document).ready(function(){}) syntax

Leave a comment