Problem with functions and objects
Hello, i'm having a problem when i try to pass a object to a function
the code is:
-
var $tr = $(this).parent().parent().parent();
$.post("url.php", function($tr)
{
$tr.remove();
}
But it just don't works, i think the solution is not hard, but i just try all that i know and nothing.
Thanks for the help
and sorry for the poor english
