Functions / Selecting
Selecting
Selecting DOM elements. 4 snippets.
- Select an element by ID
$('#foo') - Select DOM elements by CSS selector
$(selector), $(selector, context) - Select elements by class name
$('.foo') - Select elements by tag name
$('div')
The other groups: