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

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.

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

Javascript runs in all the latest versions of Opera, IE, Chrome and Safari (for windows)

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

more options

I have been working on the website stsontario.org a while ago for someone. I have used a javascript file to apply a background element with a specified height based on the height of the document after loading the page. It shows on the other four browsers but does not show on Mozilla.

Both my javascripts are external files imported near the end of the body tag.

In order to debug the code I made an attempt to put document.write("hi"); at the top of my file and even found this does not show on the page. Why does my javascript code not work on Mozilla! :'(

I have been working on the website stsontario.org a while ago for someone. I have used a javascript file to apply a background element with a specified height based on the height of the document after loading the page. It shows on the other four browsers but does not show on Mozilla. Both my javascripts are external files imported near the end of the body tag. In order to debug the code I made an attempt to put document.write("hi"); at the top of my file and even found this does not show on the page. Why does my javascript code not work on Mozilla! :'(

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

You need to change any \ in a path URL to / to work in Firefox. Firefox encodes the \ character instead of flipping it to / like other browsers. Sorry for the inconvenience!

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

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

more options

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

You need to change any \ in a path URL to / to work in Firefox. Firefox encodes the \ character instead of flipping it to / like other browsers. Sorry for the inconvenience!

เปลี่ยนแปลงโดย jscher2000 - Support Volunteer เมื่อ