reloading page around ajax window.location=self.location doesn't work


on homepage i got:



<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>


via mootools, i anchor elements id once they're clicked, ornate div popup next contains login signup form (with methods stop propagation events course)
and on filling-up fields ajax kicks - that's ostensible emanate event reload page user have visible logged user-level-controls appears etc..



the ajax instituted mootools ajax category evalscripts choice set true. ajax page advantage book code:



<script type="text/javascript">window.location = self.location;</script>


this component works ideally - i'm wondering since i change anchors' href values href="#" scripts won't work anymore?



does have anything window?



did change the ability i clicked couple even event's propagation stopped??



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?