Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Using @Scripts.Render for jquery in ASP.NET MVC4 causes js events returning always true #5

Closed
thisismydesign opened this issue Apr 12, 2014 · 1 comment

Comments

@thisismydesign
Copy link

Just came across this wierd bug. I wonder if anyone else experienced the same.

Validation did not work. Debugging showed that events were always true, no matter the return value.
All I could figure out is that deleting
@Scripts.Render("~/bundles/jquery")
from the shared footer view and addig the jquery with script tags (as you did) solves the problem.

According to diff they are identical, both version 2.1.0.

@thisismydesign
Copy link
Author

This is caused by linking jQuery 2.1.0 two times in the same document.

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

No branches or pull requests

1 participant