Solved

Exception was thrown in jquery-1.10.2.js

Posted on 2013-11-12
7
2,133 Views
Last Modified: 2013-11-19
I am getting jquery errors:

Exception was thrown at line 1639, column 4 in jquery-1.10.2.js
0x800a139e - JavaScript runtime error: SyntaxError

and:
Exception was thrown at line 1656, column 4 in jquery-1.10.2.js

The first is at:
div.querySelectorAll("*,:x");

The second is at:
matches.call( div, "[s!='']:x" );

I of course haven't altered this .js file and it is as downloaded.

I am using asp.net visual studio 2012 framework 4.5 and I get this error when I use the Debug Output window.

Any suggestions?

thanks!
0
Comment
Question by:BobCSD
  • 3
  • 2
7 Comments
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 39643816
Hi mate,

those are errors occurred in jQuery file but I'm sure they were caused by a problem in your code.

Did you identify in your code which instruction(s) cause this?
0
 
LVL 1

Accepted Solution

by:
BobCSD earned 0 total points
ID: 39651552
I found out these don't have anything to do with my code, because on the page it occurs I'm not even using the library. I found out this is normal and is a jquery error that occurs when debugging from visual studio:

http://bugs.jquery.com/ticket/14123

It says:
"But, to replicate, run Visual Studio 2012, create a "Blank App" under the JavaScript "Windows Store" section. Then install version 2.0.2 of the jQuery NuGet package. Add a reference to jquery in the "default.html" file and run the app. There are errors reported to the JavaScript Console. If you have "break on throw" set for exceptions in JavaScript, it will stop at least twice. "

thanks!
0
 
LVL 1

Author Comment

by:BobCSD
ID: 39651755
I've requested that this question be closed as follows:

Accepted answer: 0 points for BobCSD's comment #a39651552
Assisted answer: 500 points for AlexCode's comment #a39643816

for the following reason:

found the answer.
0
 
LVL 30

Expert Comment

by:Alexandre Simões
ID: 39651756
I think you should accept your own
0
 
LVL 1

Author Comment

by:BobCSD
ID: 39652204
I did accept my own. I just gave you the points for participating. thanks!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now