I¹m trying to replace the contents of a block in an ajax_command_replace function.
I can¹t seem to address it right.
Here¹s what I¹ve tried: $commands[] = ajax_command_replace('#user_favorites.content', $output); $commands[] = ajax_command_replace('#user_favorites->content', $output); $commands[] = ajax_command_replace('#user_favorites', $output);
User_favorites is a block created and initially populated by a custom module and this is working fine. The ajax replacement of contents is not.
What am I doing wrong?