Try with:

  'update' => 'myDialog',

    gabriel

On Jun 4, 8:04 pm, Javier Garcia <tirengar...@gmail.com> wrote:
> Hi,
>
> i have a template with this below to show a dialog when the link is clicked:
>
> <div id="myDialog">
>
> </div>
>
> echo jq_link_to_remote('Enviar mensaje 2', array(
>                                          'url' =>
> 'mensaje/new?receptor='.$miembro->getId().'&tipo=0&estado=0',
>
>                                         'update' => "$('#myDialog')",
>
>                                          'complete' =>
> '$("#myDialog").dialog({ height:530 });
>                                      ));
>
> When i click the link, i get in Firebug the message:
>
> $("#myDialog") is null
>
> and no dialog appears.
>
> Any idea?
>
> --
> Javi
>
> Ubuntu 8.04 - Symfony 1.3

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to