The content of my div just reloads when i press my ajax-link:
$tableData =
"<div id='ajax_reserve$i'>" . $html->input("Reserve/...") .
$ajax->link("Reserve", "/reservations/update_reservation/",
array('update' => 'ajax_reserve$i', 'loading' =>
"Element.hide('ajax_reserve$i')", 'complete'=>"new
Effect.Appear('ajax_reserve$i')")) . "</div>";
echo $html->tableCells($tableData);
Is'nt it possible to have ajax content divs within a td?
A static div with the same link code outside the table works alright!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---