select elements and add onclick listener