The documentation at https://api.jquery.com/dblclick/ describes how to attach the dblclick() method.
Unlike other event listener bindings, like on(), bind(), delegate(), and live() the dblclick() documentation does not specify the best way to remove the binding (ie, "To remove events bound with .on(), see .off().").
I assume, based on the "This method is a shortcut for .on( "dblclick", handler)..." note, that the correct way to detach the dblclick() event listener is to use off("dblclick").
The documentation at https://api.jquery.com/dblclick/ describes how to attach the
dblclick()method.Unlike other event listener bindings, like
on(),bind(),delegate(), andlive()thedblclick()documentation does not specify the best way to remove the binding (ie, "To remove events bound with .on(), see .off().").I assume, based on the "This method is a shortcut for .on( "dblclick", handler)..." note, that the correct way to detach the
dblclick()event listener is to useoff("dblclick").