So I'm having a popup that opens upon click on a link, but IE (8.0) doesnt want to show it.
<a href="javascript:tellafriend('tellafriend.php?id=<?php echo $obj_id; ?>');">Send page</a>
And this function in JS:
function tellafriend(url) {
popup = window.open(url, "Send page", "width=500,height=600,scrollbars=yes,resizable=yes");
popup.focus();
}
IE tells me the error is at the line popup = window.open...
Any ideas on how to fix it?