=> Is the redirected file in the same domain as the page which opens it?
nope
=> What's the error message?
it says in the status, script error

=> How are you triggering the alert()?
<script language="javascript">
...
function checkp() {
window.self.status = winpopup.location.href;
}
...
</script>
<input name=turek onclick=checkp(); type=button value=value>
OK i want to make something like that: the user enter my page there are two buttons: VOTE and ENTER, user click VOTE, the popup opens where he can vote, whith button inside, and now the script on first page should check if he clicked that button in popup window (check if popup window has url that is visited after clicking). after that ENTER button enables... i know how to do the rest of this, but i only need something that will check what url is now in popup window...