Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo/milk/index.html not working #2439

Open
TonyGravagno opened this issue Aug 10, 2022 · 6 comments
Open

demo/milk/index.html not working #2439

TonyGravagno opened this issue Aug 10, 2022 · 6 comments

Comments

@TonyGravagno
Copy link

Latest Firefox over Windows 10. The Remember the milk demo does not correctly validate email or user entries. All entries return an error result.

@TonyGravagno
Copy link
Author

While this is considered "content", there is no Issues area for the content repo and I wouldn't know the solution to offer a PR.

@bytestream
Copy link
Member

That file can be found here - https://github.com/jquery-validation/jquery-validation/blob/master/demo/milk/index.html. PR welcome.

@TonyGravagno
Copy link
Author

Ahh, so this does belong here. Thanks.
As I said, I'm not qualified to offer a solution to this specific issue so I hope we can leave this open for someone who can look at it.

@wewhite
Copy link
Contributor

wewhite commented Nov 30, 2022

Update all versions of jQuery, mockjax, and validate.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-mockjax/2.6.0/jquery.mockjax.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script>

In head tag of milk.html, works fine.

@wewhite
Copy link
Contributor

wewhite commented Nov 30, 2022

Latest pre-built version 1.19.5 / 2022-07-01 download works fine.
If you using from source, you need to build the distribution (dist) folder using grunt.

@wewhite
Copy link
Contributor

wewhite commented Nov 30, 2022

The real problem is that https://jqueryvalidation.org/files/ needs to be rebuilt from latest.
https://jqueryvalidation.org/files/lib/jquery.js is showing jQuery 1.11.1
Latest download prebuilt shows jQuery 3.1.1.

^^^ this is the problem, not the milk demo.

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

No branches or pull requests

3 participants