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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -