Using jQuery with json - i keep having "ui is undefined"

Using jQuery with json - i keep having "ui is undefined"

    I have a link (#botaoMovimentos) and, by pressing, it returns data from mysql.
    The sql query is ok. I've tested. But i keep getting this error (ui is undefined).

    What is missing in here?

      #tabelamovimentos is a Div with a table.
      #botaoMovimentos is a link that redirects to #.




      I have the index.php file with this code;
        1. $('#botaoMovimentos').bind( {
        2. source : 'ajaxMovimentos.php',
        3. click: function(event, ui) {
        4. $('#tabelamovimentos').slideUp('slow', function(){
        5. $('#tabelamovimentos').html(
        6. '<h2>Detalhes do Colaborador</h2>' +
        7. '<strong>Date: </strong>' + ui.item.date + '<br/>' +
        8. '<strong>Name: </strong>' + ui.item.name + '<br />' +
        9. '<strong>Address: </strong>' + ui.item.adress + '<br />'
        10. );
        11. });
        12. $('#tabelamovimentos').slideDown('slow');
        13. }
        14. })


        in ajaxMovimentos.php i have:

        1. <?php
        2. include_once 'usuarios.class.php';

        3. $movimento = new Colaboradores();

        4. echo json_encode($movimento->buscarMovimentos($_GET['term']));

        5. ?>

        in usuarios.class.php i have:

        1. public function buscarMovimentos($movimento){
        2. $dados_mov = array();
        3. $sql_movimentos = "SELECT * FROM movimentos WHERE colaborador_id = 471 LIMIT 1";
        4.  
        5. $resultado_movimentos = mysql_query($sql_movimentos);
        6.  
        7. while ($row_mov = mysql_fetch_array($resultado_movimentos, MYSQL_ASSOC)){
        8. $dados_mov[] = array("date"=> htmlentities($row_mov['date']),
        9. "name" => htmlentities($row_mov['name']),
        10. "address"=> htmlentities($row_mov['address'])
        11. );
        12. }

        13. return $dados_mov;
        14. }