я пишу следующее code`Почему window.open() открывается в том же окне?
<a href="b.html" class="popup">Holiday</a>
<script>
a.popup.click(function(event)
{
event.preventDefault();
window.open($(this).attr('href'));
});
</script>
Он откроет b.html в новом окне, но открывается в том же, почему? я включаю JQuery как this`
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"/>
Каких последнюю версию? Это может быть причиной?