Heres the markup:
<div id='0203' class='threadWrapper'>
<div class='littleme'>
I am trying to send the id of a parent div as a parameter in jquery.get function:
$('.littleme').click(function**()**{
var id = $(this).closest("div").attr("id");
$.get("PHP/viewedThread.php", {viewedURLID: id});
});
and am getting rather lost I'm afraid.
...ammendment... $(this).closest(".threadWrapper").attr("id");