"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)
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,
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' + (
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
>
Hi,
Thanks for your reply. It helped me a lot.
Regards
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:
>
6 matches
Mail list logo