Skip to content

Challenge Target Elements By ID Using JQuery

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Challenge Target Elements by ID Using jQuery

You can also target elements by their id attributes. Note that, just like with CSS declarations, you type a # before the id's name.

$("#target3").addClass("animated fadeOut");
Clone this wiki locally