Ok here the jsfiddle example
http://jsfiddle.net/HTjCT/1/
As you can see you when you hover it is not firing mouseover event
how can i solve this problem ?
i am using Jquery 1.9
<div id='superdiv'>Click Me</div>
$(function () {
$('#superdiv').on('click', function (event) {
$('body').append('<div id="super">another');
});
$('#super').on('mouseover', function (event) {
alert('not working');
});
});
javascript
You have to use "delegate", like this (to supply "live")
$('body').on('mouseover', '#super', function (event) {
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With