Skip to content

Not working properly with jQuery > 1.7.2 #202

Description

@pmirandaarias

In https://reactiveraven.github.io/jqBootstrapValidation/ the installation says:

Download jqBootstrapValidation and include the script tags on your page:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="/js/jqBootstrapValidation.js"></script>

It works ok with that version, but when I try to use a newer version I always got error like:

Uncaught TypeError: Cannot read property 'length' of null jqBootstrapValidation.js:411

But if I use jQuery 1.7.2 I got:

Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4 bootstrap.min.js:6

I'm using Bootstrap v3.3.7.

Some of the functions of my webpage won't work with that old jQuery, like some simple slides among others.

How can avoid those issues? Is there a newer version of jQuery that is 100% compatible with this plugin?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions