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 8418447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:19:56+00:00 2026-06-10T02:19:56+00:00

My page has jQuery referenced, as other code is already running correctly. But I

  • 0

My page has jQuery referenced, as other code is already running correctly. But I need to add some new code, and decided to try testing the selector directly in Firebug before writing the code. So I go to the console and type in my selector:

$("h3:contains('Keynote')");

Now, this may or may not be a valid selector. I don’t care, at this point. When I hit enter, I’m getting the following error:

TypeError: $ is not a function

Now I know if you get that error in code that’s actually running on your page, it’s usually either because jquery is not referenced or running (which we know it is) or because there are conflicts with another library. But would code that’s run directly in the console be affected by that? And if so, how do I get around it for testing purposes? Do I have to skip testing this way in Firebug and just write the code in my file and test from there?

If it helps, when I click on the link to the error message, this is what I get:

enter image description here

  • 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-06-10T02:19:58+00:00Added an answer on June 10, 2026 at 2:19 am

    Have you tried replacing the $ with jQuery?

    jQuery("h3:contains('Keynote')");
    

    My first guess would be a conflict which this should handle.

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

Sidebar

Related Questions

My code has uses jquery to add an element to a page, and then
I have a simple jQuery code that runs on a web page that has
I'm trying to add a jQuery post to some JavaScript on a web page.
I've inherited some code and it has some jquery form validation in it. I
If a page has both JQuery and Prototype then I got conflict. There is
http://steph.net23.net/work.php here is my test link. This page has a jquery script in it
I created a page that has a JQuery based dialog using the standard JQuery
I am creating a jQuery Mobile page that has two select menu's, one is
I have a page that has fields dynamically loaded via JQuery. It allows a
The Scenario Using jQuery, I have a page that has a popup overlay containing

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.