php code doesnt work with an jquery delete(row)

php code doesnt work with an jquery delete(row)

I have a small admin panel where i can delete items, if used an jquery animation and hide function when i click on the delete button, but when i click on the button the jquery works perfect but for some resaon the php delete function doesnt work(if tryed a basic link, like index.html, but this doesnt works)

When i click the btn the page doesn't refresh, anybody have a solution for this?



This is the jquery code


   
  1.      // remove a row       

        $(".delete-row").click(function() {

              $(this).parents('.pages-row, .user-row, .media-row')

              .effect("highlight", {}, 100).animate({

                  opacity: 0   

              },function () {

                  $(this).hide();

              });

              $(this).parents(".pages-row, .user-row").next("div").hide();       

            return false;

          });