Hi Mike,

Thank you very much for your help. Now it's working fine.

Cheers.

mw

On Nov 6, 12:40 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> >   $(document).ready(function(){
> >     $("a").click(function () {
> >           $("#info"+id).slideUp("slow");
> >     });
> >   });
> > For some reason I can't get the ID of the link I just updated. Any
> > Idea how to do this?
>
> Unless id is a global variable it is undefined in your click handler.
> You could simply do this in your readystate handler:
>
> $(id).slideUp();
>
> or you can probably rewrite that whole block of code like this:
>
> function accept(id, action) {
>     $('#results').load('pagina.php', function() {
>         $('#indicator,#info'+id).slideUp();
>     });
>
> };

Reply via email to