I have tried target="_blank" and other ways so that below window opens in a new page instead of replacing the current page but its not working.
Can someone would be able to help me get this fixed?
This is the code I am using:
$("#yes").click(function() {
answer();
setTimeout(function() {
$.cookie("answered", "yes", {path:"/", expires:730});
window.location = "http://www.google.com", "_blank"
}, 2E3)
});
$("#yes").click(function(){answer();setTimeout(function(){$.cookie("answered","yes", {path:"/",expires:730});window.open("http://www.google.com")},2E3)});