
Firefox 17 some javascripts do not work
Java Scripts like:
function top()
{
window.location.assign("#top");
}
do not work anymore in Firefox 17. That is links to an "id" of the currant page. Links to a "specific page + id" are o.k. Safari, Chrome and I.E. were all o.k.
चुने गए समाधान
The root of the problem was that in this case the function "top()" had the same name as the identifier "#top". That does not work anymore in Firefox 17. When I changed the name of the function to "topofpage()" the problem was solved.
Ferdi Stutterheim.
संदर्भ में यह जवाब पढ़ें 👍 0All Replies (4)
You could try
window.location.hash = "top";
Does that work in all browsers?
I have left the scripts out and wrote HTML. Thanks all the same.
चयनित समाधान
The root of the problem was that in this case the function "top()" had the same name as the identifier "#top". That does not work anymore in Firefox 17. When I changed the name of the function to "topofpage()" the problem was solved.
Ferdi Stutterheim.