There is only one number in the div that I want to update. Is there a way of doing it without writing a new view file or should I do it in JS?
I am using CakePHP 1.3 and jQuery.
There is only one number in the div that I want to update. Is there a way of doing it without writing a new view file or should I do it in JS?
I am using CakePHP 1.3 and jQuery.
Adding this to the action solved the problem:
$this->autoRender = false;
return $divContent;