Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: Object Expected

Status
Not open for further replies.

nomsg

Technical User
Aug 21, 2001
61
CA
Hi there,

Can anyone help with this error this test site:

Line: 46
Char: 1
Error: Object Expected

This occurs after I hover over the sample links.

I am using DW8 pn PC to generate the code, but I think this is an html problem that I can fix (?)

Thank you kindly.
mel.
 
So... on line 46... there is a javascript function being called.

Code:
<script language="JavaScript1.2" type="text/javascript">mmLoadMenus();</script>

This function is not defined until about 12 lines later in the page. You must define this function first.

Regards,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Thank you Jeff.

Sorry, I'm not a programmer by trade.
To clarify, you mean by line 5, I should insert something like (?):

<script language="JavaScript" type="text/JavaScript">
</script>

Thanks again.
mel.
 
Never mind, I finally understand what you are saying.

In the library for the top Javascript menu that I was using, I did not define the function mmLoadMenus(), and when I did ... no more errors in IE.

Strange though, Firefox did not register such an error in the first place, but that's a new question altogether.

Great work Jeff.
Thank you again.

mel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top