Friday, February 24, 2012

Microsoft JScript runtime error: 'jQuery' is undefined

When i am working with jquery in application ,Suddenly i stuck  with the following error.i:e "Microsoft JScript run time error: 'jQuery' is undefined".This is the common error will arise when working with Jquery.

The main reason for this is the jQuery library could not be loaden when we run the application because of made a wrong reference or forgot the reference to the jQuery library at all.
Then i will including jquery-1.4.4.js to my application.The my issue has resolved after add this jquery library reference
<script src="~/Scripts/jquery-1.4.4.js" type="text/javascript">

1 comment:

Unknown said...

Every aspiring Web developer should know about the power of JavaScript and how it can be used to enhance the ways in which people see and interact with Web pages. Fortunately, to help us be more productive, we can use the power of JavaScript libraries, and in this article we will take a good look at jQuery in action