所以我注意到,当元素 lt;div 样式=" 显示: 无, "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Is it possible to get this to work? I have tested it here, and seems to work. http://jsfiddle.net/FBYhe/
我正在使用 jQuery UI - & gt; ComboBox 部件 。
这是我现在的密码
<select name="labels" id="labelsList">
<option>Filter By Label</option>
<option selected>Show All</option>
<option class="ClickMe">Filter By Label</option>
</select>
<script>
$(document).ready(function(){
$(".ClickMe").click(function() {
alert( tets );
});
});
</script>
所以我得到ZERO的警报 与此有关, 我不知道为什么, 但我相信它有 与显示:没有。
任何帮助都将不胜感激!