jQuery Selector | Tutorial
Tutorial -- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
jQuery Tutorial
jQuery Tutorial jQuery Introduction jQuery Installation jQuery Syntax jQuery Selectors jQuery Events
jQuery Effects
jQuery Hide/Show jQuery Fading jQuery Sliding jQuery Animation jQuery Stop Animation jQuery Callback jQuery Chaining
jQuery HTML
jQuery Get jQuery Set jQuery Add Elements jQuery Remove Elements jQuery CSS Classes jQuery css() Method jQuery Dimensions
jQuery Traversing
jQuery Traversing jQuery Ancestors jQuery Descendants jQuery Siblings jQuery Filtering
jQuery Ajax
jQuery AJAX Introduction jQuery load() Method jQuery get()/post() Methods
jQuery Other
jQuery noConflict() Method jQuery JSONP
jQuery Examples
jQuery Reference
jQuery Selectors jQuery Event Methods jQuery Effect Methods jQuery HTML / CSS Methods jQuery Traversing Methods jQuery AJAX Methods jQuery Miscellaneous Methods jQuery Properties
jQuery Plugins
jQuery Validate jQuery Cookie jQuery Accordion jQuery Autocomplete jQuery Growl jQuery Password Validation jQuery Prettydate jQuery Tooltip jQuery Treeview
Deep Dive
- Software
- Programming
- Development Tools
- Programming Languages
- Web Service
- Computer Science
- Scripting Languages
- Scripts
- Web Design and Development
- Web Services
jQuery Selector
Example
Select every element where the id attribute value is "choose":
$("")
Definition and Usage
The selector selects every element with the specified attribute and value.
Syntax
$("[attribute=value]")
| Parameter | Description |
|---|---|
| attribute | Required. Specifies the attribute to search for. |
| value | Required. Specifies the value to search for. |
YouTip