Hi,
I have a select field which is output as part a pagination loop, i.e.
foreach ($data as $company):?>
<tr>
... other data ...
<td>
<?php echo $form->input('accountTypeNames',
array('onchange'
=>'this.form.submit()', 'label' => '', 'options' => array
($accountType_Names), 'empty' => '<Please choose>', 'selected' =>
$company['Account']['account_type_id'])) ?>
</td>
</tr>
<?php endforeach; ?>
</tr>
My problem is that I don't know which select has been changed when the
onchange event is called.
Any help is greatly appreciated.
Thanks, Roger.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---