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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:36:00+00:00 2026-06-16T07:36:00+00:00

I have seen the tutorial from ExtJs using the code as below: var myDiv

  • 0

I have seen the tutorial from ExtJs using the code as below:

 var myDiv = Ext.get('myDiv');
 myDiv.highlight();   

where is hightlight() function from? Is it from native Javascript or ExtJs framework? I have done simple search but could not find it in API doc. If hightlight() is from ExtJs framework, how actually it overwrite the native behaviour in Javascript?

I wonder so how Jquery selector, let say $('#myDiv') can be recognized by Javascript? The $(”) symbol shouldn’t be recognized by Javascript compiler right?

My description is quite poor, sorry for that. I am javascript beginner.

  • 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-16T07:36:01+00:00Added an answer on June 16, 2026 at 7:36 am

    Prototype, Ext, etc. extend the prototype of the DOM objects (which is pretty questionable behaviour by the way), e.g. HTMLElement.prototype, and add their own functions to it. That allows you to call them like shown in your example.

    jQuery hovever doesn’t use any magic at all. $ is a normal identifier in JavaScript just like normal characters. So it’s nothing but a function named $ which you then call when doing $('#selector') etc. The return value of that function is usually a jQuery object which behaves like an array and has a ton of useful methods. So you never deal with the native DOM objects but just with an object containing one or more of them.

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

Sidebar

Related Questions

I have seen tutorials all over the place for explaining how to get Code
I am an ExtJS beginner, below is the very simple code fragment taken from
I have seen a tutorial that has the following JSON: { books:[{title:frankenstein},{title:Moby Dick}] }
hy all, i tryed to use this code as seen on a tutorial, but
I am using zend. Sometimes I have to show data from database on a
I have been trying to get Glew and opengl 3.2 working with code blocks(minGW)
I am using Jcrop with a preview pane as seen in the tutorial here
I have seen the following code: [DefaultValue(100)] [Description(Some descriptive field here)] public int MyProperty{...}
If you are using DropBox on MacBook you must have seen that once we
I have seen tutorials on creating a 3d character in flash. Is there a

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.