jquery - PHP returns HTML rather than JSON -
i trying json response server. jquery got html. way using zend framework. idea?
thanks
you use:
$this->_helper->layout->disablelayout();
or
$this->_helper->viewrenderer->setnorender();
and output json.
Comments
Post a Comment