Version change jquery error

2019-07-24 02:52发布

问题:

Hi every one I have built a web application using asp which includes a little bit of jquery from bootstap (boorstrap-dropdown.js).

for some other project which is lower version than the project I developed, I changed the version from 4 to 3.5.

Now I am getting an errors

"Microsoft JScript runtime error: Unable to get value of the property 'fn': object is null or undefined"

"Microsoft JScript runtime error: Object expected"

"Microsoft JScript runtime error: Object doesn't support property or method 'collapse'"

Thank you

回答1:

It seems you have a conflict between jquery and other js library. Take a look to noConflict instruction to see if this fixes the problem for you.