I think it's window.addEvent('hashchange',function(){...})
You don't need  to add the "on". Same as for the other handlers:
document.onclick = document.addEvent('click', function(){} // not
ONclick.

On 15 juin, 13:59, אריה גלזר <[email protected]> wrote:
> hey
> for some unknown reason, doing
> window.addEvent('onhashchange',function(){...})
> doesn't work for me on chrome 5, only
> window.onhashchange  = ...
>
> anyone knows why? this is obviously a problem, since it means i have to
> trust the user not to overwrite my event
>
> --
> Arieh Glazer
> אריה גלזר
> 052-5348-561
> 5561

Reply via email to