title: cakephp saving data without reload page
body: <p>I have a label called price, and this label automatically updates its value every two seconds from the server. Also I have a button or link, which increases this price in database when I do click. The problem is how save the data without redirect to the same page. </p>
  
  <p>My code:</p>
  
  <pre><code>&lt;?php 
  echo $this-&gt;html-&gt;link('Increase price', array('controller' =&gt; 'example', 'action' =&gt; 'increase_price', $param1), array ('id' =&gt; 'btPrice'));
  ?&gt;
  </code></pre>
  
  <p>And in ExampleController the code is</p>
  
  <pre><code>    function increase_price($param1) 
      {
          $this-&gt;autoRender = false; //Don't want a view
  
          $example = $this-&gt;Example-&gt;findById($param1);
          $example ['Example ']['price'] = $example ['Example ']['price'] + 1;
          $this-&gt;Example-&gt;save($example );
  
  
      }
  </code></pre>
  
  <p>The price is increased but cakePhp is asking me for a view, and if I do autoRender=false then my page will be blank and I want to stay on the same page.
  I don't know if this is a CakePhp question or if is Jquery question. In both cases, I appreciate your help</p>