[support] Ajax_command_replace
Alex Adams
alex at a2technology.com
Fri Jul 1 21:29:19 UTC 2011
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?
--
Alex Adams
hawkVision building highly agile worlds of knowledge
A2 Technology Partners, Inc.
831-724-1397
alex at a2technology.com
www.a2technology.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110701/7c40ca4e/attachment.html
More information about the support
mailing list