We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

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.

Learn More

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 majibu
  • 1 ana tatizo hili
  • 1 view
  • Last reply by 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://

All Replies (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