DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: use of $('#some_id') in javascript  (Read 4,705 times)

megatron

  • Participant
  • Joined in 2008
  • *
  • Posts: 23
use of $('#some_id') in javascript
« on: January 20, 2010, 09:26 PM »
Can anyone provide me some details about the [$(‘3] used in a java script e.g. $('#select_text').XYZ. I saw this in a .js file but when I try to use it in my javascript it gives some error. In the given example the  “select_text” is a id of a text box in the web page which include the .js file containing the $ code.


Can anyone provide me some tutorial about this “advance” javascript.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: use of $('#some_id') in javascript
« Reply #1 on: January 20, 2010, 09:53 PM »
its a jquery thing, it's not standard javascript.

Original address: https://www.donationcoder.com/forum/index.php?topic=21433.0