i am fetching a page using get ajax call.
$.get('/notification/viewmessage',{user:username},function(data){
//my code here
});
i wan't to disable the layout of the page on some $.get calls only.
the default layout disable function in zend is $this->_helper->layout->disableLayout();
but i don't want to do this in all page requests.
can i do this by adding some code in the js request itself?
thanks in advance.