more.
See:http://docs.jquery.com/Events/live
Regards
Maurício
-Mensagem Original-
De: Sala
Para: jQuery (English)
Enviada em: sábado, 28 de novembro de 2009 23:28
Assunto: [jQuery] Re: slideToggle stops working after refreshing content
with Ajax
Thanks thanks so much
: sábado, 28 de novembro de 2009 23:28
Assunto: [jQuery] Re: slideToggle stops working after refreshing content with
Ajax
Thanks thanks so much
I tried to rebind the event handlers and for some reason that did not
work.
However, the plugin worked perfectly!
Thanks once again, I
You can use the Live Query plugin to resolve this problem:
http://docs.jquery.com/Plugins/livequery
Or you can rebind the event handlers after the ajax call has updated
the page. The new nodes do not have event handlers bound to them when
they replace the old nodes:
function refreshcontent(){
You can check out the livequery plugin here which addresses this
issue:
http://docs.jquery.com/Plugins/livequery
or you can rebind the event after the ajax call:
function refreshcontent(){
$.get(mycontent.php, function(data){
$(#container).animate({ opacity: hide }, 200);
Thanks thanks so much
I tried to rebind the event handlers and for some reason that did not
work.
However, the plugin worked perfectly!
Thanks once again, I spent days on this
On Nov 28, 2:17 pm, jpcozart jeremy.coz...@gmail.com wrote:
You can use the Live Query plugin to resolve this
5 matches
Mail list logo