Javascript is a bit foreign to me, so I am struggling to accomplish
something that is probably quite straightforward.

I have a select list. When its value is changed, I want to check it's
new value. Then I want to hide or show one or more divs depending on
that value. How do I d this with the Js helper?

Thus far, I have this fairly useless piece of code:

$js->get('#mode_id');
$js->event('change', $js->alert('Changed'));

Any clues/tutorials/samples for improving on this "Hello world" code
gratefully received.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to