I need to add jQuery and other javascript files to my Zend Framework project. I am trying to do it with an Action controller:-
public function userinfoAction() {
a good way for that is to use the below code in your controller action lets say u want to include the paginator.js
$this->view->headScript()->appendFile($this->view->baseUrl().'/js/paginator.js');