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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:54:21+00:00 2026-06-08T01:54:21+00:00

I am new to javascript and jQuery. i just want to know that is

  • 0

I am new to javascript and jQuery.

i just want to know that is there any way create something different ,say structured dom language ?

in jQuery to select all div

var divs = $("div");

i want to know the possibility of something like this

var SDL = new SDL();

var div = SDL.query("select div from document"); //or something like that ..

or to select a div with ID

var div = SDL.query("select div from document where id='divID'");

looking mad right ?

i am sure i will not care about the downvotes for the question , but i need to know why this is not good ? or why its is not posible ?

Please say something on this …

Thank you.

  • 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-08T01:54:24+00:00Added an answer on June 8, 2026 at 1:54 am

    It’s not good because it’s pointless to implement or use. It would make the jQuery library much larger than it needs to be, and CSS selectors are clear enough anyway, as well as being far more concise.

    It is possible, but what you’re describing is actually pretty close to CSS selectors, but with a couple of extraneous words thrown in with some formatting changes.

    In your “SDL” selector, it would simply be replaced by:

    div#id
    

    Why go through the trouble of writing a whole sentence to do the same thing? There may be a third party SQL-like selector library, in the same way Sizzle is a CSS selector library, however I’ve never heard or seen of one personally.

    An SDL would also be much slower than using CSS-based selectors, as the string is more complex and has more garbage in it than a CSS selector string. More importantly, however, you wouldn’t get the native speedups that querySelectorAll() et al give when used natively.

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

Sidebar

Related Questions

I know that there is a JQuery way of doing this but that's not
I have just started learning Jquery and am new to writing javascript (I am
I'm new to javascript/jquery and I've done some poking around the web, but I
I'm very new to Javascript (and jQuery). My JSFiddle really shows the issue in
I'm really new to JavaScript and jQuery. My question is this. I have two
I'm new to JQuery/Javascript etc... based on the following article: How to make an
I'm pretty new to Javascript, Rails and JQuery all working together. I'm going through
im new to jquery and javascript.. Here is the code, this is a sample,
I am very new at jQuery ... I've used Javascript many times and am
I'm pretty new to jQuery, and I am converting a page from regular javascript

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.