Hi,
I am struggling with cakePHP a bit. I have setup a dependable
dropdown. I was now thinking about having the second dropdown hidden,
till you actually choose something from the first dropdown. So I
thought about doing this via a <div> which is hidden in the beginning.
echo '<div id="subs" style="visibility: hidden;">';
echo $form->input('Subcategory.subcategories_id', array('empty'
=> '-- Select --'));
echo '</div>';
$options = array('url' => 'getSubcategories', 'update' => 'subs');
I don't really know what I would have to add into the array to now set
the visibility to visible. Someone maybe with a thought on this issue?
Thanks a lot in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---