Remove a previously-attached binding to an IP address:port pair, naming context, event handler, communication channel, or other system object. See [tag:bind] for a partial list of the common uses of the bind/unbind concept.
Questions tagged [unbind]
360 questions
10
votes
3 answers
Unbind a router in backbone.js
So I need to remove a router in backbone.js to prevent it's routes from occuring. I've tried myRouter.off() and myRouter.remove() without any luck.
What can I do instead?

Industrial
- 41,400
- 69
- 194
- 289
10
votes
4 answers
jQuery - unbind or rebind hoverIntent()?
I have a menu bar that displays a set of categories in an upper row.
One of the categories has a set of sub-categories.
I have a hoverIntent setup so that it will slideDown the submenu, and slideUp when the mouse leaves.
However, if I am viewing a…

waffl
- 5,179
- 10
- 73
- 123
9
votes
5 answers
jQuery bind and unbind event with parameters
I am trying to bind an event to a textbox that contains parameters. The following keep looks as if it should do it, but every time the page loads, it gets executed.
jQuery(function(){
jQuery('#textbox').bind('click',…

Paul Knopf
- 9,568
- 23
- 77
- 142
9
votes
4 answers
Getting Unbound Solution from TFS
I have an open source project that I want to package into a .zip file containing the binaries and the source. The project is hosted on CodePlex and uses TFS as the source control. I am not sure how to export the project to remove all source control…

Travis Parks
- 8,435
- 12
- 52
- 85
8
votes
5 answers
disable click event handler for a duration of time
I've already looked at similar questions but the answers provided involve buttons and not div elements. When I click the div element with id click, the click event handler is disabled by unbind() and sets a timer for 2 seconds. After 2 seconds, the…

user701510
- 5,563
- 17
- 61
- 86
8
votes
1 answer
Unbinding in jQuery
If an element is removed from the page, does it automatically unbind? Or is this a scenario in which one ought to unbind using jquery's unbind?
I assume it's done automatically...

Matrym
- 16,643
- 33
- 95
- 140
8
votes
2 answers
Jquery, unbinding mousewheel event, then rebinding it after actions are completed?
I've been struggling with this for a little while now.. I am using this code to monitor the mousewheel so it can be used for scrolling with a slider that I have.. however, it has an issue where the actions queue up so if you scroll with the…

Rick
- 16,612
- 34
- 110
- 163
8
votes
4 answers
jQuery unbind('hover') does not work
My unbind does not work.
$("img.hoverable").hover(ChangeImage, ChangeBack);
$("a img.hoverable").unbind('hover');
The HTML could be like this


Aximili
- 28,626
- 56
- 157
- 216
7
votes
2 answers
Unbind a specific function jQuery
What I'm trying to do is unbind a specific function, after it has run once. In the code below it's the window scroll.
$(window).scroll(function(){
if($(window).scrollTop() == viewportheight ){
$("#landing_page").fadeOut(function() {…

Jefferson
- 993
- 2
- 16
- 35
7
votes
4 answers
Unbind/Destroy fancybox 2 events
I am having a strange issue, I have code that pulls content via ajax and then binds Fancybox (2) to certain elements. The issue is that when I "refresh" this page I call the same function that pulls and binds Fancybox again.
My normal approach that…

Nick
- 93
- 1
- 1
- 6
7
votes
3 answers
Android Service questions about bind/unbind?
The original bind/unbind service can be called by client using bindService()/unbindService().
My question is how to unbind service in service side, not called unbindService() by client, probably I should call it unbindClient.
I think the service…

kwf2030
- 195
- 2
- 13
6
votes
2 answers
Unbinding a name referenced by an enclosing scope
From the Python Language Reference (v 3.1, see here - http://docs.python.org/py3k/reference/executionmodel.html#naming-and-binding ):
It is illegal to unbind a name referenced by an enclosing scope; the compiler will report a SyntaxError.
But when…
user500944
6
votes
1 answer
TkInter: understanding unbind function
Does TkInter unbind function prevents the widget on which it is applied from binding further events to the widget ?
Clarification:
Let's say I bound events to a canvas earlier in a prgram:
canvas.bind("",some_function)
Then at a certain…
user4772964
6
votes
4 answers
How to stop Service from another activity in Android?
I have 2 activities, A & B. The Service starts in B with such code:
startService(new Intent(this, PlayerService.class));
Intent connectionIntent = new Intent(this, PlayerService.class);
bindService(connectionIntent,…

Tramway11
- 419
- 3
- 9
- 20
6
votes
2 answers
VIM: unmap period key in normal mode
I try to use the EasyMotion plugin, but I don't want to use the normal leader key, which is the \-key in my case. I also don't intend to change the leader key all together, as it might break things in vim-latex.
So I thought about using the…

Goliathus
- 63
- 1
- 4