Ajax Stop

Is there a way to call a javascript function just after an ajax refresh? I have a jquery script to change the checkbox to an image. But after a ajax refresh the old checkbox is back. I know I can use the runjavascript action but this is to slow. You first see the old checkbox just before it changes to the image. The standard jquery ajaxstop function is not working. Any ideas?
Hi Niek,

You can include the javascript html as an unescaped expression next to your checkbox. Also if your ajax refresh is explicitly refreshing only the checkbox you will also change it to refresh a container around both items.

By the way, just ouy of curiosity, if you are changing it to an image in js why don't you put there an image directly?

João Rosado
Thanks! this works. I wanted a global solution and not change every checkbox in every application.