Solved

Firebug finding illegal character in jquery 1.9.0

Posted on 2013-01-30
4
529 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
ID: 38836889
where do you see that?
firefox or firebug?
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 250 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
alert on input text 2 25
javascript and jquery question 4 26
Slush on text 2 12
Table header must be on top 2 31
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
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…

730 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