Nate,
thank for the link.
I tried it but it continues crashing my firefox, while it's running
without problems in IE:
1. created an action test() in my orders controllers
2. created a view test.thtml with your example code in view/orders/
the view is rendered correctly but when I click on the "Update 2 Div's"
link, FF crashes.
Tried the same on IE and it simply runs smoothly.
I'm running the latest cake (v.1.1.5.3148) on windows 2k with EasyPhp8
(apache 1.3.33, php 4.3.10, mysql 4.1.9)
The FF crash looks like a problem with the client side, maybe the
reponse the ajaxUpdater is sending...
Here are my controller's action and test.thtml:
orders_controller.php:
function test()
{
}
test.thtml:
<?php
echo $javascript->link('prototype');
echo $javascript->link('scriptaculous');
$options=array('update' => array('first', 'second'));
?>
<?=$ajax->link('Update 2 Div\'s', '/orders/test', $options); ?>
<?=$ajax->div('first'); ?>
This is the first div, it has the current time:
<?=strtotime('now'); ?>
<?=$ajax->divEnd('first'); ?>
<?=$ajax->div('second'); ?>
This is the second div, it shows server variables:
<? pr($_SERVER); ?>
<?=$ajax->divEnd('second'); ?>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---