Setting the style.zIndex
property has no effect on non-positioned elements, that is, the element must be either absolutely positioned, relatively positioned, or fixed.
So I would try:
$(this).parent().css('position', 'relative');
$(this).parent().css('z-index', 3000);