events - How to disable javascript code from a javascript module? -
i have joomla module javascript listener, waiting mouse hover area. want disable listener, can in firebug clicking disable code option, want more permanent javascripty approach. code minimized , it's hard read, can code firebug, is:
(function (a){a=new domevent(a,j.getwindow());i.call(j,a)===false&&a.stop()})
is there javascript code can disable line of code? thank you.
if have jquery try
jquery('yourelement').off('hover mouseover');
or
jquery('document').on('hover mouseover', '#yourlement', function(event){event.preventdefault();return false;})
Comments
Post a Comment