Understand how to select elements based on their attributes using jQuery.