script not working in Firefox (variable is not defined)

L

Lee

ORF3O said:
Hi,
someone could help me with this script?
http://www.cinemasia.it/ecommerce/menu.php
Firefox javascript console says:

Error: esplora is not defined
Source file: http://www.cinemasia.it/ecommerce/menu.php
Riga: 127

I'm not an expert of javascript and this script is not mine

It looks like it was written for very old browsers.
Change all references to esplora
to
document.getElementById("esplora")

So line 127 becomes:

document.getElementById("esplora").innerHTML = code;

But there are probably more problems.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,481
Members
44,900
Latest member
Nell636132

Latest Threads

Top