I have removed click event by using $('#div_id').unbind('click'); but after some condition I want to add click event for the same div. I used as $('#div_id').bind('click');.
But it gives error in firbug as H is undefined and so that I am not able to retain it’s on click event.
I am using jquery.min.js . Is it because of minified version of jquery?
Thank You.
You can do something like this:
define the handler function externally
and use that like below
Because you must have to set the handlerFunction with event bind().