Studyon Minte9.com
ZF 1.0




Javascript to element



$element = new Zend_Form_Element_Text('test');
$element->setAttrib('onclick', 'alert("Test")');


http://stackoverflow.com/questions/7468548/zend-form-element-with-javascript-decorator-view-helper-or-view-script