Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hi,

Im kasun and developing ASP MVC 5 web app with EF for the first time.
I have an issue with my Jquery code,

this is the function I am using;

C#
resolveWith: function( context, args ) {
					if ( !cancelled && !fired && !firing ) {
						firing = 1;
						try {
							while( callbacks[ 0 ] ) {
								callbacks.shift().apply( context, args );
							}
						}
						// We have to add a catch block for
						// IE prior to 8 or else the finally
						// block will never get executed
						catch (e) {
							throw e;
						}
						finally {
							fired = [ context, args ];
							firing = 0;
						}
					}
					return this;
				},


but when I run the application, it give below error highlighting "Throw e" in above function code.

Unhandled exception at line 872, column 8 in http://localhost:52992/Scripts/jquery-1.5.1.js

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'dataTable'


please help me to troubleshoot this issue asap.
thanks in advance.
Posted
Updated 28-Aug-15 18:28pm
v2

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