Hello,
I am having some trouble using jquery for my symfony 1.4 project. I have a table showing rows of data. For each row I want to have a link or jpeg which on click will fill some data in a div.
This I have achieved by using the following call (I use the sfJQueryReloadedPlugin):
<?php echo jq_link_to_remote("(read)", array(
'update' => 'oldpick' . $pick->id,
'url' => 'expert/getOldPick',
'with' => '{ id: "'. $pick->id .'" }'
))?>
My problem is, however: How do I hide this again? I would like the "(read)" link to be removed on click, and the a new "(hide)" link to appear. Alternatively I could have two link_to_remote which are hidden/showed interchangibly?
But, in all, my question is: How can I do this? Is it possible to fire more javascript code than that created for the onclick by the symfony framework?
Best regards,
Rasmus
