Q:

jQuery descendants selector with multiple selector

I want to select all text areas, inputs and selects which are descendants of an element with a specific class.  I tried this:
$('.parent textarea,input,select')

But it gives strange results.  It selects elements even if there are no elements with parent class.  An example: http://jsfiddle.net/v3cmjedk/
What's wrong with this selector and how should my selector look like? 
I am using jQuery version 1.12.0. 

A:

'.parent textarea,input,select' string contains three unrelated selectors divided by ,.  You need to add the .parent to the input and select as well:
'.parent textarea, .parent input, .parent select'

