javascript - Remove Scroll Binding Without Removing Others with Jquery -
is there way remove binding below, without removing other bindings on element deal scroll? tried unbind('scroll', scrollhandler)
, didnt work also. have scroll binding removed because of this. there way namespace?
var scrollhandler = function () { // inner logic }; windowelement.unbind('scroll').scroll(scrollhandler);
fixed using this.
windowelement.unbind('scroll.fixedtop').bind('scroll.fixedtop', scrollhandler);
Comments
Post a Comment