// clickable blocks
$(".product").click(
function () {
window.location = $(this).find('a').attr("href").css("cursor", "pointer");
return false;
});
The container is made clickable but the cursor remains the same. Why isn't the css selector working?
The code:
$(".product:has(a[href])")
.css("cursor", "pointer")
.click(function()
{
window.location = $("a", this).attr("href");
});