搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

in a web application php menu not loaded in version 3.0.19 and 3.6 but its works well in 2 and 3.5.6 error - document.layers is undefined

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

in a web application php menu not loaded in version 3.0.19 and 3.6 . but its works well in 2 and 3.5.6 error - document.layers is undefined

URL of affected sites

http://

in a web application php menu not loaded in version 3.0.19 and 3.6 . but its works well in 2 and 3.5.6 error - document.layers is undefined == URL of affected sites == http://

所有回覆 (2)

more options

Document.layers is old Netscape code and doesn't work in modern browsers. You need to use document.getElementById or document.getElementsByTagName.

https://developer.mozilla.org/En/DOM/element.getElementsByTagName

more options

I see the menu, but no drop down when clicking. All works fine in IE and Firefox 3.5 Regards Peter S