?
Solved

Firebug finding illegal character in jquery 1.9.0

Posted on 2013-01-30
4
Medium Priority
?
534 Views
Last Modified: 2013-02-05
I'm using jquery 1.9.0.  When I load it.  Firefox says it finds and illegal character at line 3811
 has the following code:

try {
3811 -->	slice.call( docElem.childNodes, 0 )[0].nodeType;
} catch ( e ) {
	slice = function( i ) {
		var elem,
			results = [];
		for ( ; (elem = this[i]); i++ ) {
			results.push( elem );
		}
		return results;
	};
}

Open in new window

Not sure whey this is happening.  Anyone else experience this?

Thanks!
0
Comment
Question by:HyperBPP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 1000 total points
ID: 38836889
where do you see that?
firefox or firebug?
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 1000 total points
ID: 38838933
We need to see the related code which is calling this method within jquery. In short words your code. The whole context. A sample page you make up and put online for us to see, or you post your code here.
0
 
LVL 6

Accepted Solution

by:
HyperBPP earned 0 total points
ID: 38839760
Sorry,  in FireBug.... Found a couple of illegal characters in a piece of code I copied in offline that did not show up in my editor but did in firebug.... blah!
0
 
LVL 6

Author Closing Comment

by:HyperBPP
ID: 38854287
My comment contains the actual solution.  Other input rewarded for assistance.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
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…
Suggested Courses

765 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