crazy jquery problem working with mozilla and not in others
- by moustafa
i have this code
$(function() { $('#ans_vote a span').click(function(){alert('working');return false;});});
and this html
<div id="ans_vote">
<a href='#'><span>one</span></a>
</div>
<div id="ans_vote">
<a href='#'><span>two</span></a>
</div>
when click one and two in mozilla its working
but when click one in ie its working but when click two its not working