Following jQuery is not working on given select box.I want to iterate through all the options of select box.Where am I going wrong?Am not getting \[code\]alert("hi")\[/code\], I.E. \[code\]$("#FileType").find('xption').each(function(){\[/code\] is not executing.\[code\]<x:select id="FileType" width="210px"> <xption value="http://stackoverflow.com/questions/15611201/JPG">JPG</xption> <xption value="http://stackoverflow.com/questions/15611201/PNG">PNG</xption> <xption value="http://stackoverflow.com/questions/15611201/PDF">PDF</xption> <xption value="http://stackoverflow.com/questions/15611201/TIF">TIF</xption> <xption value="http://stackoverflow.com/questions/15611201/BMP">BMP</xption></x:select>$("#FileType").find('xption').each(function(){ alert("hi"); if($(this).val() == AttachmentExtension) $("#FileType").val(AttachmentExtension);});\[/code\]