You can use just
$('#mydiv').ready(function() {
//do things here
});
2010/9/27 Jose <[email protected]>
>
>
> On 27 sep, 00:29, mdipierro <[email protected]> wrote:
> > ajax calls do not execute js in views but you can return any js code
> > from a web2py controller as in
> >
> > response.js="activate_slider();"
> >
> > and it should do it.
> >
>
> This does not work. What it does is call activate_slider () before you
> load the target div.
>
> What I need is to call activate_slider () after they have finished
> loading the images.
>
> Jose
--
http://rochacbruno.com.br