Solved

Firebug finding illegal character in jquery 1.9.0

Posted on 2013-01-30
4
525 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
  • 2
4 Comments
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 250 total points
Comment Utility
where do you see that?
firefox or firebug?
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
My comment contains the actual solution.  Other input rewarded for assistance.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to dynamically set the form action using jQuery.
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)

744 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

8 Experts available now in Live!

Get 1:1 Help Now