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

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -