[Fixed]-Jquery is not working in Django

1đź‘Ť

You should be more specific about what “it’s not working” means.

However one obvious mistake is that you are including your own script file – which depends on jQuery – before you load jQuery itself, which will fail. Move your script tag to after the jquery ones.

Also, you are including both jQuery and jquery-validate twice, from different targets. Don’t do that; pick one and use it.

0đź‘Ť

There was a dot in your call to the jQuery ready function…

$(document).ready.(function() {

should be…

$(document).ready(function () {
👤Lucas Lahoz

Leave a comment