Well, ok. Thanks for your reply. I still dont understand how to put onClick or some other event inside <option> tag which is created by Zend_Form_Element_Multiselect. I was not asking how to use js.
Martin Martinov-2 wrote: > > 2008/8/27 vladimirn <[EMAIL PROTECTED]>: >> >> >> >> Martin Martinov-2 wrote: >>> >>> Use the onchenge event of your select tag. >>> >>> -- >>> Regards, >>> Martin Martinov >>> http://mmartinov.com/ >>> >>> >> Thanks Martin, but if i use onChange event in select tag, this will show >> hidden text area on any change inside multiselect, right? I need to make >> text area visible only if user choose third option. >> -- >> View this message in context: >> http://www.nabble.com/How-to-add-select%3Dselected-in-Zend_Form_Element_Multiselect-and-one-more-question-%3A%29-tp19166233p19176062.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> >> > > Well, you'll just have to count how many options are selected in the > onchange event handler, and show/hide your textarea as appropriate. > This list is really not the place to discuss this thing :-) > > -- > Regards, > Martin Martinov > http://mmartinov.com/ > > -- View this message in context: http://www.nabble.com/How-to-add-select%3Dselected-in-Zend_Form_Element_Multiselect-and-one-more-question-%3A%29-tp19166233p19176713.html Sent from the Zend Framework mailing list archive at Nabble.com.