- JavaScript framework
- Multi-browser
- CSS and DOM manipulation
- AJAX
- Plugins
$('.ancestor .descendant')
$('.parent > .child')
AND $('.one.two')
OR $('.one, .two, .three')
- Refining
$('p').not('.ignore')
$('ul li').first()
$('.child').closest('.ancestor')
$('.item').next('.sibling')
$('.my-box').animate({
left: '500px',
top: '400px',
width: '400px',
height: '80px',
}, 10000, function() {
$('.my-box').fadeOut();
});
- Interact with the server in the background
- Click links, submit forms, refresh data, etc.
- without reloading the page
$.post(url, data, callback);
$.get(url, data, callback);
- Plugins...
- Use the Console
console.log('message');
-