<select id="test">
	<option value="zhangsan">1</option>
</select>

<script src="jquery.js"></script>
<script>
    $(function () {
    	var res = $('#test').find("option[value='anonymous']");
    	if (res.length > 0) {
    		console.log('yes');
    	} else {
    		console.log('no');
    	}
    });
</script>