How to create a script for open a tag href url in new window or tab only after clicking ok button in popup. there are multiple a tags with different urls.
$(document).ready(function() {
$("[target=_blank]").click(function() {
$(".popup").toggle();
});
$(".cancel").click(function() {
$(".popup").hide();
});
});