html - jQuery: mouseover function not triggering for unordered list descendant -
i have unordered list below:
<ul id="daslist"> <li id="daslistitem1"> <span> <div style="height:10px"> <label id="daslabel1">lalala</label> </div> <a id="dasanchor1"></a> </span> </li> <li id="daslistitem2"> <span> <div style="height:10px"> <label id="daslabel2">lalala</label> </div> <a id="dasanchor2"></a> </span> </li> </ul>
now here want do. want trigger mouseover function on anchor tag contained in list item. currently, i'm using this:
$("#daslist a").mouseover(function(){ alert('i find lack of faith disturbing'); });
but ungodly reason, isn't triggering. have placed break-points well, no avail :(
is there better way of doing this?
i figured out! problem browser :) apparently latest chrome update seems recognize mouseover mouseclick when chrome dev tool open :/
honestly, weird scenario, , i'd never expect. closing question, think it's time did!
Comments
Post a Comment