$('.p_01').each(function(i){$(this).css("opacity","1")})
.hover(function(){
var pid=$(this).attr('id');
$('#product_Tab_'+pid).show();
$(this).bind("click",function(){
alert(3333333);
})
});为什么再click事情 不起作用的!
.hover(function(){
var pid=$(this).attr('id');
$('#product_Tab_'+pid).show();
$(this).bind("click",function(){
alert(3333333);
})
});为什么再click事情 不起作用的!
<script type="text/javascript">
$(function(){
$(".test").hover(function(){
$("#div_"+this.id).show();
},function(){
$("#div_"+this.id).hide();
});
}).click(function(){alert("fewfefeef");});
</script>
var pid=$(this).attr('id');
$('#product_Tab_'+pid).show();
$(this).bind("click",function(){
alert(3333333);
})
}).each(function(i){$(this).css("opacity","1")});
交換位置