title: CakePHP trying to send a ajax request
body: <p>I'm trying to send a ajax requistion to a controller, that it should returns something, but isn't.
  My element (View/Elements/list.ctp):</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function(){
          $('#click').click(function(){
              $.ajax({
                  type: "POST",
                  url: '&lt;?php echo Router::url(array('controller' =&gt; 'products', 'action' =&gt; 'showProducts')); ?&gt;',
                  success: function(data){
                      alert(data);
                  }
              });
          });
      });
  &lt;/script&gt;
  &lt;p id="click"&gt;Click me!&lt;/p&gt;
  </code></pre>
  
  <p>Controller products:</p>
  
  <pre><code>&lt;?php
      class ProductsController extends AppController {
          public $helpers = array('Js' =&gt; array('Jquery'));
          public $components = array('RequestHandler');
          var $name = 'Products';
  
          function showProducts(){
  
              return 'This should to return in jQuery data';
          }
      }
  ?&gt;
  </code></pre>