jQuery Tutorial
- jQuery Tutorial
- jQuery Introduction
- jQuery Installation
- jQuery Syntax
- jQuery Selectors
- jQuery Events
jQuery Effects
- jQuery Hide/Show
- jQuery Fade
- jQuery Slide
- jQuery Animate
- jQuery Stop
- jQuery Callback
- jQuery Chaining
jQuery HTML
- jQuery Get
- jQuery Set
- jQuery Add
- jQuery Remove
- jQuery CSS Classes
- jQuery css() Method
- jQuery Dimensions
jQuery Traversing
jQuery AJAX
jQuery Misc
jQuery Examples
jQuery Reference
- jQuery Selectors
- jQuery Event Methods
- jQuery Effects Methods
- jQuery HTML / CSS Methods
- jQuery Traversing Methods
- jQuery AJAX Methods
- jQuery Misc Methods
- jQuery Properties
jQuery Plugins
(adsbygoogle = window.adsbygoogle || []).push({});
jQuery #id Selector
Definition and Usage
The #id selector selects the element with the specified id.
The id refers to the id attribute of the HTML element.
Note: The id attribute must be unique within the document.
Note: Do not use id attributes that start with a number! It may cause problems in some browsers.
Syntax
$("#id")
| Parameter | Description |
|---|---|
| id | Required. Specifies the id of the element to select. |
jQuery Selectors
More Examples
(adsbygoogle = window.adsbygoogle || []).push({});
YouTip