How can I insert a style
into a option
element using Zend_Form?
I'm using Zend Framework 1 .
How can I insert a style
into a option
element using Zend_Form?
I'm using Zend Framework 1 .
You can use setAttrib
to enter your attribute and value:
foreach ($this->getElements() as $element) {
$element->setAttrib('class', $minhaClasse);
}
More about, here.