tags:

views:

58

answers:

1

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.

A: 

Adding this to the action solved the problem:

    $this->autoRender = false;
    return $divContent;
eerden