Do you want to improve your jQuery skills?
jQuery Selectors
$(this).hide() - Demonstrates jQuery's hide() function, hiding the current HTML element.
$("p").hide() - Demonstrates jQuery's hide() function, hiding all <p> elements.
$(".test").hide() - Demonstrates jQuery's hide() function, hiding all elements with class="test".
$("#test").hide() - Demonstrates jQuery's hide() function, hiding the element with id="test".
jQuery Events
jQuery click() - Demonstrates jQuery's click() event.
jQuery dblclick() - Demonstrates jQuery's dblclick() event.
jQuery mouseenter() - Demonstrates jQuery's mouseenter() event.
jQuery mouseleave() - Demonstrates jQuery's mouseleave() event.
jQuery mousedown() - Demonstrates jQuery's mousedown() event.
jQuery mouseup() - Demonstrates jQuery's mouseup() event.
jQuery hover() - Demonstrates jQuery's hover() event.
jQuery focus() and blur() - Demonstrates jQuery's focus() and blur() events.
jQuery Hide/Show
jQuery hide() - Demonstrates jQuery's hide() method.
jQuery hide() and show() - Demonstrates jQuery's hide() and show() methods.
jQuery toggle() - jQuery toggle() is used to toggle between hide() and show() methods.
jQuery hide() - Another example of hiding text.
jQuery Fade
jQuery fadeIn() - Demonstrates jQuery's fadeIn() method.
jQuery fadeOut() - Demonstrates jQuery's fadeOut() method.
jQuery fadeToggle() - Demonstrates jQuery's fadeToggle() method.
jQuery fadeTo() - Demonstrates jQuery's fadeTo() method.
jQuery Slide
jQuery slideDown() - Demonstrates jQuery's slideDown() method.
jQuery slideUp() - Demonstrates jQuery's slideUp() method.
jQuery slideToggle() - Demonstrates jQuery's slideToggle() method.
jQuery Animations
jQuery animate() - Demonstrates a simple jQuery animate() method.
jQuery animate() - Set multiple CSS properties - Demonstrates changing styles using jQuery's animate() method.
jQuery animate() - Use relative values - Demonstrates how to use relative values in jQuery's animate() method.
jQuery animate() - Use predefined values - Demonstrates using predefined values 'hide', 'show', 'toggle' with the animate() method.
jQuery animate() - Demonstrates more examples of jQuery's animate() method.
jQuery animate() - Demonstrates more examples of jQuery's animate() method (multiple animate() callbacks).
jQuery Stop Animations
jQuery stop() slide - Demonstrates jQuery's stop() method.
jQuery stop() animation (with parameters) - Demonstrates jQuery's stop() method.
jQuery HTML Get and Attributes
jQuery text() and html() - Get text and content - Get content using jQuery's text() and html() methods.
jQuery val() - Get value - Get form field values using jQuery's val() method.
jQuery attr() - Get attribute value - Get attribute values using jQuery's attr() method.
jQuery HTML Set Content and Attributes
jQuery text(), html(), and val() - Set content - Set content using jQuery's text(), html(), and val() methods.
jQuery text() and html() - Set content with callbacks - Set content using text() and html() with callback functions.
jQuery attr() - Set attribute value - Set attribute values using jQuery's attr() method.
jQuery attr() - Set multiple attribute values - Set multiple attribute values using jQuery's attr() method.
jQuery attr() - Set attribute value with callback - Set attribute values and call attr() with a callback function.
jQuery HTML Add Elements/Content
jQuery append() - Add content at the end of selected elements.
jQuery prepend() - Add content at the beginning of selected elements.
jQuery append() - Insert multiple elements - Create new text/HTML elements, using jQuery and JavaScript/DOM. Add after the new element's text.
YouTip