View Full Version : HELP with Javascript and browsers...

09-15-2005, 01:04 AM
Hi there.

OK, the problem: I have a rather nice little cascading menu drop-down menu going on in a site I'm developing. I need to offer security (e-commerce will be brought in at a later stage) though when I combine the JavaScript with php, all I get in Mozilla browsers is the script and no site! What could be the problem?

It works grand in IE - but we all know you can't fully trust that one. I'm more a web designer and JavaScripts are something I'm getting to grips with and understand on an average level - but I ain't no xpert! Some wise, age-old advise would be fantastic!

The script is declared as JavaScript1.2 - is this a big difference/jump from plain old JavaScript?

Thanks for your time!

Kindest Regards

09-15-2005, 04:34 PM

How about posting some script? :D

09-16-2005, 12:03 AM
The correct way to declare a Javascript is using

<script type="text/javascript">

There is no provision for declaring which version of Javascript without using the now obsolete language attribute.

A link to the page with the problem would be a big help in figuring out what is wrong.