hi
i'm have ajax observeField that getting Provinces of the Country from
DB

<?php
echo $html->selectTag(
'User/country_id',
 $count,
 null,
 array(),
 array(),
 true
);
?>
</div>
<div id="box"></div>
<?php
echo $ajax->observeField(
 'UserCountryId',
 array(
   'frequency' => '1',
   'url' => '/countries/get_province/'.$user['User']['province_id'],
   'update' => 'box'
 )
);
?>

<?php
// get_province.ctp
   echo $html->selectTag(
     'User/province_id',
     $prov,
     $sel,
     array(),
     array(),
     true
   );

?>

when the action rendered in HTML code everething is OK,  i see
<select> tags
but when form is submited in POST array i don't see province_id element


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to