2008-11-16 78 views

回答

5

尝试用setAttrib(通过$名称,$值),例如:

$element->setAttrib('onchange', 'jsFunction();'); 

您可以找到有关的Zend_Form_Element的here更详细的信息。

相关问题