I am using zend framework project which is been created by using zend studio. Also there is a Jquery project which is created separately.
I have deployed jquery project in tomcat, and on click of one button in jquery, a php method is called by using ajax LOAD method. PHP is returning string value.
However, for some reason data is not coming back to jquery method.
Jquery method:
var res = $('#updatedtime').load("http://test/index/returndate");
PHP method
public function returndateAction(){
$this->_helper->viewRenderer->setNoRender(true);//this will do job
return "hi";
}
Can we use jquery LOAD method be used to get data? Please correct me if am wrong!
Thanks all