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

  • Home
  • SEARCH
  • 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 6101773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:32:16+00:00 2026-05-23T13:32:16+00:00

If in a webkit browser like Chrome i do: $$(‘span’); I get a result

  • 0

If in a webkit browser like Chrome i do:

$$('span');

I get a result that looks almost exactly the same as jQuery’s:

$('span');

If in the console I look for definition of $$ I get:

bound: function ()
{
    return document.querySelectorAll.apply(document, arguments)
}

And for $ I get:

function (a,b){return new c.fn.init(a,b)}

What type of functions can I do on a $$ object that I cannot really do with a jQuery ($) object?

  • 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-23T13:32:17+00:00Added an answer on May 23, 2026 at 1:32 pm

    Since $$ is just a wrapper for querySelectorAll, you can pass any valid selectors.

    “What type of functions can I do on a $$ object that I cannot really do with a jQuery ($) object?”

    First, $$ isn’t an object like jQuery. It is an object, but it’s just a simple function object that is a wrapper (shortcut) for document.querySelectorAll. It returns a NodeList of the elements it found.

    The only thing it supports that Sizzle doesn’t specifically support, to my knowledge, is :nth-of-type.

    (Of course Sizzle defaults to qsa when you give a valid selector, so you can pass nth-of-type to the jQuery function in browsers that also support qsa.)

    With Sizzle, there are several selectors that are not supported by querySelectorAll, so you can technically do more with jQuery/Sizzle.

    Those include:

    • :eq()
    • :gt()
    • :lt()
    • :first
    • :last
    • :not() (When you give it multiple selectors. Simple :not() values are supported in qsa.)
    • :animated
    • :input
    • :button
    • :checkbox
    • :even
    • :odd
    • :has()
    • :image
    • :password
    • :radio
    • :reset
    • :selected
    • :submit
    • :text
    • :visible

    …to name a few several.


    Keep in mind that Sizzle first tries to use querySelectorAll. If you passed a proprietary selector, it then defaults to Sizzle’s own engine.

    Since qsa is typically faster than Sizzle, it may be advisable to consider alternatives to the proprietary selectors listed above in order to improve performance.


    Also note that Webkit does not define $$ anywhere except for in the console. the $$ shortcut is not available in your scripts unless you make it available.

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

Sidebar

Related Questions

When using a WebKit browser (Chrome or Safari), if I try to get the
Given that Chrome and Safari use webkit has anyone yet found anything that renders
Chrome (or any other webkit browser) throws a ton of these Unsafe JavaScript attempt
While creating a JQuery plugin that required image dimensions, I discovered that webkit browsers
I'm developing a personal website, http://www.miketurley.com . In any Webkit browser (Chrome, Safari) or
The codebases for modern web browsers like Chrome, Firefox, and Safari (WebKit) are quite
I currently have issues in Webkit(Safari and Chrome) were I try to load dynamically
I would like to use WebKit's box-shadow css property for a little drop-down. The
As I understand it, both Safari and Chrome use WebKit. There are many projects
I would like to implement a web browser in my c#-program. The browser should

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.