I am having a small issue using java script:window.open in a link. The new window opens fine and all, but the problem is that the window where the link is clicked disappears and the text "[object Window]" appears. Below is the code for the link.
CODE
$preview_link = "<a href=\"java script:window.open('core/preview.php?url=$url&title=$title','Preview $title','width=600,height=800')\">Preview</a>";
Thanks,
Michael Boutros