Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

why is navigator.javaEnabled() returning false even if Enable Javascript is checked under tools ->options->content. How can I make it to return true. This happens only on Firefox 4

  • 2 trả lời
  • 6 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi maheshhbhat

more options

I following java script in my xhtml : <script language="JavaScript"> <!-- if(navigator.javaEnabled()) { window.alert('java Enabled'); document.location.href = "login_page.do"; } else{ window.alert('java not Enabled'); } //--> </script> In firefox 4.0.1 navigator.javaEnabled() always returns false even if Enable Javascript is checked under tools ->options->content. How can I make it to return true. Is there any other setting or plugins that I need to make it return true?Please advise. Thanks Mahesh

I following java script in my xhtml : <html> <head> <script language="JavaScript"> <!-- if(navigator.javaEnabled()) { window.alert('java Enabled'); document.location.href = "login_page.do"; } else{ window.alert('java not Enabled'); } //--> </script> </head> <BODY> In firefox 4.0.1 navigator.javaEnabled() always returns false even if Enable Javascript is checked under tools ->options->content. How can I make it to return true. Is there any other setting or plugins that I need to make it return true?Please advise. Thanks Mahesh

Giải pháp được chọn

Ah, there is a difference between Java and JavaScript. You may need the latest Java plugin from Oracle.

http://www.java.com/en/download/testjava.jsp

More background: http://kb.mozillazine.org/Javascript_is_not_Java

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

Ah, there is a difference between Java and JavaScript. You may need the latest Java plugin from Oracle.

http://www.java.com/en/download/testjava.jsp

More background: http://kb.mozillazine.org/Javascript_is_not_Java

more options

Thanks for your help!. I installed the exe from the link and it works now.