Forums

This topic is locked

Jump Menu problems

Posted 09 Feb 2004 18:41:06
1
has voted
09 Feb 2004 18:41:06 Greg LeBreck posted:
I am using ASP with a SQL DB.

Here is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK HREF="../css/admin_styles.css" REL="stylesheet" TYPE="text/css">
</HEAD>

<BODY>

<!--- Start Header --->
<DIV ID="header"> <!-- #BeginLibraryItem "/library/admin_header.lbi" -->
<TABLE WIDTH="100%" BGCOLOR="#FF9933">
<TR>
<TD><B>Cornerstone Technologies Editor</B></TD>
</TR>
</TABLE>
<!-- #EndLibraryItem --></DIV>
<!--- End Header --->

<!--- Start Content Wrap --->
<DIV ID="contentwrap">
<!--- Start Main Content --->
<DIV ID="main_content">
<!--- Start Main Table --->
<TABLE>
<TR>
<TD><FORM NAME="form1">
<SELECT NAME="menu1" onChange="MM_jumpMenu('parent',this,0)">
<OPTION><--- Select Menu Item ----></OPTION>
<OPTION VALUE="admin_menu.asp">Edit Page Text</OPTION>
<OPTION VALUE="admin_menu.asp">Edit Images</OPTION>
<OPTION VALUE="admin_menu.asp">Edit Users</OPTION>
</SELECT>
<INPUT TYPE="button" NAME="Button1" VALUE="Go" onClick="MM_jumpMenuGo('menu1','parent',0)">
</FORM>
</TD>
</TR>
</TABLE>

When I try to use the jump menu I get the error :
Line 29
Error: Object Expected

Line 29 would be <SELECT NAME="menu1" onChange="MM_jumpMenu('parent',this,0)">

Can you see where the problem is?

Replies

Replied 09 Feb 2004 19:52:51
09 Feb 2004 19:52:51 brad fratilla replied:
Remove:
onChange="MM_jumpMenu('parent',this,0)"
May need to remove:
onClick="MM_jumpMenuGo('menu1','parent',0)"
......................................

Reply to this topic