SyntaxFix
Write A Post
Hire A Developer
Questions
you cannot set target attribute to div, becacuse div does not know how to handle http requests. instead of you set target attribute for link tag.
$(this).find("a").target = "_blank"; window.location= $(this).find("a").attr("href")