Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

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 antwoorde
  • 1 het hierdie probleem
  • 1 view
  • Laaste antwoord deur 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