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

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -