Select elements by parameter

Here are two options: