Nasıl Zend framework ile oluşturulan formları javascript eklerim? Örneğin, ben formu doğrulamak istedim, ya da ben bulanıklık, odaklanma ve onclick gibi olayları kullanmak istedi?
Ne yapmak eğilimindedir:
Zend_Form
and the related classes
If you are using jQuery, you can detect when the page is loaded $.ready
, and hook a function on that event -- function that will add some dynamic bahaviors to your form.
Of course, you can do the same sort of thing with other JS libraries -- I only took jQuery as an example because of its popularity, and the fact there are some jQuery-related components in ZendX.