Re: [jQuery] Ajax and removeClass

2009-11-09 Thread Michel Belleville
I'm guessing you're giving behaviour to your links like this : $('#any .old_path a').click(...); So, you're giving it to any link that are present in the dom at the place you want when you're executing the former code. Then you're adding elements to the dom with an ajax call. These elements haven

Re: [jQuery] Ajax and removeClass

2009-11-09 Thread cavanshir aliyev
Nobody knows how to solve this issue? maybe this is the wrong mailing list? On Sun, Nov 8, 2009 at 8:28 PM, cavanshir wrote: > Hello, > > I have page with buttons and links. I wrote a jQuery code that adds > new css classes to images under clicked links. Also I have an Ajax > request, which repl

[jQuery] Ajax and removeClass

2009-11-08 Thread cavanshir
Hello, I have page with buttons and links. I wrote a jQuery code that adds new css classes to images under clicked links. Also I have an Ajax request, which replaces buttons with identical ones, but with different content. After ajax executes, the jQuery code does not add new classes to images und