[jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-04 Thread MorningZ
"There is an DOM element, which is reloading(replaced by ajax response with same id/tag), then the event isn't no more bounded. I want it to be bounded all the time" instead of all the overhead of binding/unbinding/looking-to-do-either, why not: a) just replace the contents of the DOM object b)

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-04 Thread Karl Swedberg
In jQuery 1.3.x, .live() only works for a subset of event types. jQuery 1.4 extends support to all event types: Possible event values: click, dblclick, mousedown, mouseup, mousemove, mouseover, mouseout, keydown, keypress, keyup Currently not supported: blur, focus, mouseenter, mouseleave,

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-03 Thread Md. Ali Ahsan Rana
I don't know about this much. But, just a while ago, i wa having problem binding focus event with live() method. Just solved it by the following code that i found somewhere on internet: (function(){ var special = jQuery.event.special, uid1 = 'D' + (+new Date()), uid2 = 'D' + (

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-03 Thread waseem sabjee
on certain versions of IE i had issues where the .live() function just didn't work. no click events at all were firing only on IE. not sure if this has been fixed. On Sun, Jan 3, 2010 at 9:23 AM, Md. Ali Ahsan Rana wrote: > Hi, > Thanks for your reply. It helped me a lot. > > Regards >

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-02 Thread Md. Ali Ahsan Rana
Hi, Thanks for your reply. It helped me a lot. Regards

[jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-02 Thread Joe Sondow
Yes, the live function. http://docs.jquery.com/Events/live "Added in jQuery 1.3: Binds a handler to an event (like click) for all current - and future - matched element. Can also bind custom events." On Jan 2, 11:44 pm, "Md. Ali Ahsan Rana" wrote: > hi, thanks. But, what is happening here is: >