Print Page | Close Window

Unterminated String Constant

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6659
Printed Date: 29 March 2026 at 2:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Unterminated String Constant
Posted By: jrindt
Subject: Unterminated String Constant
Date Posted: 23 October 2003 at 1:52pm

Can anyone look at this javascript and tell me where the heck the UNTERMINATED STRING CONSTANT error is? I can't figure it out. Please help.

<p><!-- Keep all menus within masterdiv--> </p>

<div id="masterdiv"><div class="menutitle" onclick="SwitchMenu('sub1')">

<p>Home</p>

</div><div class="menutitle" onclick="SwitchMenu('sub2')">

<p>Meet Dr. Dickhut</p>

</div><div class="menutitle" onclick="SwitchMenu('sub3')">

<p>About Chiropractic</p>

</div><span class="submenu" id="sub3">

<p>- <a href="subluxation.htm">Subluxation</a><br>

- <a href="degeneration.htm">Degeneration</a><br>

- <a href="conditions.htm">Conditions</a><br>

- <a href="treatment.htm">Treatment</a><br>

- <a href="protocols.htm">Protocols</a><br>

</span></p>

<div class="menutitle" onclick="SwitchMenu('sub4')">

<p>Sports Injuries</p>

</div><span class="submenu" id="sub4">

<p>- <a href="ankle.htm">Ankle</a><br>

- <a href="knee.htm">Knee</a><br>

- <a href="headbrain.htm">Head/Brain</a><br>

</span></p>

<div class="menutitle" onclick="SwitchMenu('sub5')">

<p>FAQ</p>

</div><div class="menutitle" onclick="SwitchMenu('sub6')">

<p>Whiplash Facts</p>

</div><div class="menutitle" onclick="SwitchMenu('sub7)">

<p>Amazing Reports</p>

</div><div class="menutitle" onclick="




Replies:
Posted By: KCWebMonkey
Date Posted: 23 October 2003 at 3:28pm
a javascript error will give reference to the line number in your code that throws the error. you should be able to close in on the error that way.


Posted By: ljamal
Date Posted: 23 October 2003 at 5:29pm
The problem is with SwitchMenu('sub7) and SwitchMenu('sub8) they should be SwitchMenu('sub7') and SwitchMenu('sub8')

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net