wahsaga: location.href im Firefox

Beitrag lesen

hi,

try {window.location.href=window.location.href + "#current";}
catch(e) {;}

Warum geht das im Firefox nicht? Er gibt zwar die Seite inkl. Hash zurück, zeigt aber nur eine leere Seite an! (HTML Code im Seitenquelltext ist vorhanden!)

wenn du damit zu einem anker springen möchtest, solltest du lieber http://de.selfhtml.org/javascript/objekte/location.htm#hash manipulieren.

gruß,
wahsaga

--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."