<HTML>
<HEAD>
<TITLE>Ajax_command_replace</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I&#8217;m trying to replace the contents of a block in an ajax_command_replace function.<BR>
<BR>
I can&#8217;t seem to address it right.<BR>
<BR>
Here&#8217;s what I&#8217;ve tried:<BR>
$commands[] = ajax_command_replace('#user_favorites.content', $output);<BR>
$commands[] = ajax_command_replace('#user_favorites-&gt;content', $output);<BR>
$commands[] = ajax_command_replace('#user_favorites', $output);<BR>
<BR>
User_favorites is a block created and initially populated by a custom module and this is working fine. &nbsp;The ajax replacement of contents is not.<BR>
<BR>
What am I doing wrong?<BR>
-- <BR>
Alex Adams<BR>
<BR>
hawkVision &#8212; building highly agile worlds of knowledge<BR>
A2 Technology Partners, Inc.<BR>
831-724-1397<BR>
<a href="alex@a2technology.com">alex@a2technology.com</a><BR>
www.a2technology.com<BR>
</SPAN></FONT>
</BODY>
</HTML>