jquery查找功能隱藏並顯示不起作用,怎麼回事?jquery顯示,隱藏功能不起作用
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script>
$('div').hover(function() {
$(this).find('.delete').show();
}, function() {
$(this).find('.delete').hide();
});
</script>
<div>
Blah
<span class="delete">Delete</span>
</div>
代碼工作正常,我在FF:HTTP ://jsfiddle.net/ECssL/ – 2013-04-06 08:49:46
我使用Google Chrome – Rashad 2013-04-06 08:52:27