so here on my homepage i got a
<ul id="login">
<li> <a id="loginswitch" href="./login-page">log-in</a> | </li>
<li> <a id="signupswitch" href="./signup-page">sign-up</a> </li>
</ul>
so via mootools, i get these anchor elements by id so that once they're clicked, a flashy div will popup below them that contains the login or signup form (with methods to stop the propagation of events of course) and upon filling-up the fields the ajax call kicks in - that's supposed to create a session and reload the page so that the user would have a visual that he is now logged in and user-level-controls appears etc..
the ajax call is initiated by the mootools ajax class and evalScripts option is set to true the ajax page returns the script code
<script type="text/javascript">window.location = self.location;</script>
this systems works perfectly - now im wondering why if I change the anchors' href values to href="#" my scripts wont work anymore? does it have anything to do with the window? did it change its property when i clicked a link or so even when the event's propagation were stopped??