Skip to content Skip to sidebar Skip to footer

Twitter Bootstrap Dropdown Not Working In Django Template

Thanks for trying to help in advance! My problem is that twitter bootstrap's dropdown menu (for navbar) doesn't work for me and I am very lost now. My header code (so yes, I do inc

Solution 1:

Switch the order of your js includes so jQuery is loaded first.

<scripttype="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><!--jquery--><scripttype="text/javascript"src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script><!--dropdown addon-->

Solution 2:

you must use the last version of jquery (1.7)

Solution 3:

As John Said I indeed needed to change the lines. For some magical reason (still don't know why!) it was breaking at the breakpoints that weren't even set and hence jquery wasn't loading. After rebooting the browser, it worked.

Post a Comment for "Twitter Bootstrap Dropdown Not Working In Django Template"