monk.e.boy pisze:
R! wrote:The html code i'm rendering from view script. here is my code.I do this in the controller: // // turn off the view helpers // $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); echo $json; I don't bother with the view. monk.e.boy
Look at the action helper json http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.json
