Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3671698
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:31:08+00:00 2026-05-19T02:31:08+00:00

Since I upgraded to jQuery 1.4.4 I’ve been getting several new warning messages when

  • 0

Since I upgraded to jQuery 1.4.4 I’ve been getting several new warning messages when I run my unit tests in Firefox 3.6.13. Here’s a typical one:

Warning: Unexpected token in attribute selector: '!'.
Source File: http://localhost/unitTests/devunitTests.html
Line: 0

Or the even more useful:

Warning: Selector expected.
Source File: http://localhost/unitTests/ui/editors/iframe2.html?test=15
Line: 0

The web page renders nicely, and all my JavaScript code seems to be running okay too, so I’m reluctant to spend a potentially large amount of time chopping away at my code to track these messages down. However, can anyone suggest what’s provoking the warnings?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:31:08+00:00Added an answer on May 19, 2026 at 2:31 am

    Basically, Firefox has strict rules for javascript and will return errors on trivial matters that do not affect the javascript code from running. Off the top of my head defining variables without var will create some sort of warning in the error console, although it is perfectly fine to do so. These sort of coding practices are normal for minifying javascript and making javascript overall leaner and run faster – you will notice that most of these errors actually occur in jQuery itself.

    You can read more on Firefox strict javascript errors here: http://www.howtocreate.co.uk/strictJSFirefox.html

    It is possible to turn off strict warnings, but probably not advisable while you are developing.

    TL;DR: Don’t worry about them if everything works, FF is just overly fussy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since I upgraded my iPhone to 5.1 I have been unable to use it
We've been dealing with a problem with our event gateways since we upgraded from
.NET COM interop so far always has been working quite nicely. Since I upgraded
My website has been broken since Dreamhost upgraded their servers a couple of weeks
I have been using jquery 1.3 and upgraded to jQuery 1.6. However I am
This has been happening since I migrated servers (upgraded to a dedicated server) The
I have been using this for a while, but have since then upgraded to
since I've upgraded to jQuery 1.7, the hoverIntent event does not work anymore on
Since I've upgraded to snow leopard I've been having tons of problems using cucumber
Ever since I upgraded to Delphi 2009, I am having terrible experience with TFrame

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.