js helper not working for Internet explore
I am using cake 1.3
I have a simple select box when someone selects a state
the next select box populates the cites for that state
This works fine in firefox as well as chrome, but it does not update
my city select box for ie 7 or ie 8.
I think its not triggering the event in ie
<?php echo $this->Form-
>select('state_id',array($states),null,array('id'=>'states'),false);
?><br /><br /><?echo $this->Form-
>select('city_id',array(),null,array('id'=>'cites'),false);
$this->Js->get('#states')->event('change', $this->Js->request(
array('controller' => 'bonds', 'action' => 'update_city_select'),
array(
'update' => '#cites',
'async' => true,
'dataExpression' => true,
'method' => 'post',
'data' => $js->serializeForm(array('isForm' => false, 'inline' =>
true))
) ) );
?>
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home