[development] ahah and dropdown list

jayak kumar jayakumarstudies at gmail.com
Thu Jan 27 14:14:33 UTC 2011


Dear all,
i am developing drupal module with ahah for dropdown index change.

when i want to get value from the dropdown list i am not able to get value.

please see this code.
for normal dropdownlist i am able to get the key of value which is behind
the dropdown.
*$form_state['values']['master_dropdown']; *

But in ahah form, i am using
*$form_state['values']['dependent_dropdown_holder']['dependent_dropdown']; *

I am able to get the value which is visible in the front of dropdown.
i want to get the key value which behind the dropdown so that i will be able
to use for the country id etc.

please help me.

Thank you
jayakumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110127/b474061b/attachment.html 


More information about the development mailing list