Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Firefox 17 some javascripts do not work

  • 4 การตอบกลับ
  • 3 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย fwstutterheim

more options

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.

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.

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (4)

more options

You could try

window.location.hash = "top";

Does that work in all browsers?

more options
more options

I have left the scripts out and wrote HTML. Thanks all the same.

more options

วิธีแก้ปัญหาที่เลือก

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.