This does not work, but we can check the length:


selectedLangItem = $('#userLang option[value="nl_US"]').length
0
selectedLangItem = $('#userLang option[value="en_US"]') .length
1


On 11/10/2016 03:45 PM, Aline Manera wrote:
selectedLangItem = $('#userLang option[value="'+selectedLanguage+'"]')

-- 

Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn@br.ibm.com