jquery - Binding event handlers to dynamic markup..works for click.. not for hover -
i working on project uses handlebars create dynamic content. here example http://jsbin.com/hahiv/2/edit
i not sure why click event works hover not. appreciated.
the problem hover not valid event can use. try using mouseover (the mouse enters element) or mouseout (the mouse leaves element) instead. here's jsbin, hope helps
there mouseenter , mouseleave, seems aren't supported yet. here's complete list of events, explains differences between them. , can see, there's no hover there.
Comments
Post a Comment