document.addeventlistener of javascript is not working for back button in chrome -
in chrome, when first load page following code console message
if (document.addeventlistener){ console.log("asf"); document.addeventlistener('mousemove', abc, false); } else if (document.attachevent){ console.log("as1f"); document.attachevent('onmousemove', abc); }
but whenever go / visit next page above codes , press button revisit page not console message.
for understood question code showling message in console time go , forward on chrome. notifying error abc function not in code.
check tested [jsfiddle](http://jsfiddle.net/gtbrh/).
Comments
Post a Comment