Solved

Exception was thrown in jquery-1.10.2.js

Posted on 2013-11-12
7
2,190 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:Starr Duskk
  • 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 2

Accepted Solution

by:
Starr Duskk 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 2

Author Comment

by:Starr Duskk
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 2

Author Comment

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

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

773 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