Hi all,
I am having an issue using the Ajax effects helpers within a link_to_remote
helper function in symfony 1.1. The following code:
<?php echo link_to_remote('[+]', array(
'update'=>'childous_'.$ou->getId(),
'url'=>'organisational_units/list?ou_id='.$ou->getId(),
'complete'=>"Effect.toggle('childous_".$ou->getId()."',
'blind', { duration: 0.5 })"
)) ?>
<!-- Div where children will be generated on clicking of [+} link -->
<div class="childous" id="childous_<?php echo $ou->getId() ?>"
style="display: none">
</div>
The div does not display, i.e. it stays hidden and no effect happens.
However, if I remove the style attribute from the div the data loads within
the div with no problem so I know it has nothing to do with the data
returned.
In addition I have used the above in a similar way in another project using
symfony 1.0 with no problem. Could someone point out perhaps something I
have missed or something that can cause this issue so that I can attempt to
find it?
Thanks to any help I get
Regards
Gareth McCumskey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---