New Window popup
HTML
<script src="https://code.jquery.com/jquery-latest.js"></script>
<a href="http://google.com">google</a>
<a href="http://facebook.com">facebook</a>
JavaScript
$(document).ready(function(){
$("a").click(function(){
event.preventDefault();
alert($(this).attr("href"));
window.open($(this).attr("href"), "My Task", "width=600, height=300");
});
})