i've been having some trouble trying to figure out the best way to do
this.

i've tried:
$html->yearOptionTag('calNav/year',null,$year-3,$year+3,$year,array('onchange'=>'changeYear('
. $month . ',this.options[selectedIndex].value);'));

where changeYear is a function i made:
http://cakephp.org/pastes/show/7e76997ecfb699b1d1c81edd5eb3d4b7

i would use observeField but I can't figure out the best way to get the
selectedIndex value to the function.

any thoughts?

thanks in advance.


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

Reply via email to