Sending attr with Ajax through .hover
Hello,
I'm trying to pass the id of the current hovered item to send to a page, but this is not working.Ive tried several things but nothing seams to work. I tried also $(this).attr . Any help?
Thanks
$(document).ready
(function()
{
$(".li").hover
(
function(){$.ajax({
url: 'test.php',
async: false,
data:"id=".$(this),