Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Javascript error - unknown cause #5637

Closed
huzi8t9 opened this issue Feb 13, 2013 · 3 comments
Closed

Javascript error - unknown cause #5637

huzi8t9 opened this issue Feb 13, 2013 · 3 comments

Comments

@huzi8t9
Copy link

huzi8t9 commented Feb 13, 2013

I've referenced the libraries straight from the jQuery website. This happens once I log in on my website (strange!) and that's all I get on my tablet - the page just won't load. Because I was experiences these errors on my mobile devices, I used Chrome's feature of selecting a user agent and chose "iPad - iOS 5"

Awesome

This is the report from Chrome:

Uncaught Error: Syntax error, unrecognized expression: :nth-child jquery-1.8.2.min.js:2
bc.error jquery-1.8.2.min.js:2
bc.selectors.preFilter.CHILD jquery-1.8.2.min.js:2
bh jquery-1.8.2.min.js:2
bp jquery-1.8.2.min.js:2
r.querySelectorAll.bp jquery-1.8.2.min.js:2
bc jquery-1.8.2.min.js:2
a.find jquery.mobile-1.2.0.min.js:2
a.find.matches jquery.mobile-1.2.0.min.js:2
p.extend.filter jquery-1.8.2.min.js:2
bj jquery-1.8.2.min.js:2
p.fn.extend.filter jquery-1.8.2.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
p.extend.each jquery-1.8.2.min.js:2
p.fn.p.each jquery-1.8.2.min.js:2
a.fn.grid jquery.mobile-1.2.0.min.js:2
a.widget._create jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
a.Widget._createWidget jquery.mobile-1.2.0.min.js:2
a.widget._createWidget jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
a.(anonymous function).(anonymous function) jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
p.extend.each jquery-1.8.2.min.js:2
p.fn.p.each jquery-1.8.2.min.js:2
a.fn.(anonymous function) jquery.mobile-1.2.0.min.js:2
a.widget.enhance jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
a.widget.enhanceWithin jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
p.event.dispatch jquery-1.8.2.min.js:2
g.handle.h jquery-1.8.2.min.js:2
p.event.trigger jquery-1.8.2.min.js:2
(anonymous function) jquery-1.8.2.min.js:2
p.extend.each jquery-1.8.2.min.js:2
p.fn.p.each jquery-1.8.2.min.js:2
p.fn.extend.trigger jquery-1.8.2.min.js:2
a.Widget._trigger jquery.mobile-1.2.0.min.js:2
a.Widget._createWidget jquery.mobile-1.2.0.min.js:2
a.widget._createWidget jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
a.(anonymous function).(anonymous function) jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
p.extend.each jquery-1.8.2.min.js:2
p.fn.p.each jquery-1.8.2.min.js:2
a.fn.(anonymous function) jquery.mobile-1.2.0.min.js:2
B jquery.mobile-1.2.0.min.js:2
a.mobile.changePage jquery.mobile-1.2.0.min.js:2
a.extend.initializePage jquery.mobile-1.2.0.min.js:2
(anonymous function) jquery.mobile-1.2.0.min.js:2
k jquery-1.8.2.min.js:2
l.fireWith jquery-1.8.2.min.js:2
p.extend.ready jquery-1.8.2.min.js:2
D jquery-1.8.2.min.js:2

@jaspermdegroot
Copy link
Contributor

@huzi8t9

Please provide a test page. See the contributing guidelines for instructions and our JS Bin template.

A wild guess... could it be you have a navbar to which you dynamically add items, but doesn't contain any items when the page is initialized?

@huzi8t9
Copy link
Author

huzi8t9 commented Feb 13, 2013

Thank you for your reply.

Sorry for not following the guidelines! I'll sum it all up here.

Description: The webpage won't load once I've logged in. Since you comment, I assume it's because I have taken the times away from the navbar.
Test page: http://mobile.clan-hq.mhprogramming.co.uk/

I don't know what to put for the rest of the guidelines, I'll make a quick guest account to reproduce the error.

To reproduce, follow the above link, click "Login" and login with both the user name and password as "GitHub" (case sensitive).

Many thanks

@jaspermdegroot
Copy link
Contributor

@huzi8t9

The issue is indeed the navbar that doesn't contain any items. Closing as duplicate of #5141.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants