Click here to Skip to main content
15,039,244 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Microsoft JScript runtime error: Object doesn't support this property or method
in jquery.min.js

how to solve this problem
Posted
Updated 16-Dec-13 23:02pm
v2
Comments
KarstenK 17-Dec-13 5:05am
   
a whole bunch more information is needed. If it is an ActiveX control the interface isnt properly in the js.

1 solution

This error is a fairly common one that can often have several different causes, however the usual cause is that your jQuery library and related scripts are attempting to be accessed and used prior to actually being loaded. (This would cause any uses of your jQuery object ($) to be unavailable and thus unable to perform any of its functions).

A common solution to this would be to actually place your necessary code at the end of your content, just prior to your closing body tag </body> :

@Scripts.Render("~/bundles/jquery")

</body>

Depending on the browser that you are using, you can often use the Developer Tools (F12) which should reveal where the error itself was occurring and additional details related to the issue (which can be helpful for any future script-debugging issues).
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900