472,961 Members | 2,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

Javascript error- please help!

I'm hoping that the wealth of knowledge here can stop me from spinning
my wheels on this syntax error for hours. :)

Below is the code, and the error I am recieving....

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/tag-lib/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tag-lib/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tag-lib/struts-logic-el.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tag-lib/c.tld" prefix="c" %>
<%@ page
contentType="text/html; charset=ISO-8859-1"
<meta http-equiv="Content-Type" content="text/html;
<meta name="GENERATOR" content="IBM WebSphere Studio">
<meta http-equiv="Content-Style-Type" content="text/css">
<link href="theme/Master.css" rel="stylesheet" type="text/css">

<!-- ******* from here -->
<link rel="stylesheet" type="text/css" media="print"
href="<html:rewrite page='/theme/print.css' />" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/base1.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/tab_base.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/green.css'/>" />
<link rel="stylesheet" type="text/css" media="screen"
href="<html:rewrite page='/theme/CAW.css'/>" />
<!-- ****** to here -->

<title>VSAC Forms</title>

<!-- ****** from here -->

<script type="text/javascript" language="Javascript" src="<html:rewrite
<meta http-equiv="Content-Type" content="text/html;
<script type="text/javascript">
_editor_url = './';
_editor_lang = 'en';
<script type="text/javascript" src="htmlarea.js"></script>
<script type="text/javascript" src="dialog.js"></script>
<script type="text/javascript" src="lang/en.js"></script>
<!-- ****** to here -->


<!-- ****** from here -->
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0"
<body onunload="javascript:history.go(1)">
<body onload="HTMLArea.replace('txt1')">
<table width="700" border="1" bordercolor="#CCCCCC" cellpadding="0"
<tr><td width="700">

<div id="courtnav" >&nbsp;&nbsp;<NOBR><a
key="app.aboutUs" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;<a
key="app.siteHelp" /></a>&nbsp;&nbsp;·&nbsp;&nbsp;
key="app.contactUs" /></a>&nbsp; </NOBR>
<div id="colorfield" >
<div id="logo"><IMG SRC="<html:rewrite
page='/images/logo_green.gif'/>" ALT="" WIDTH="101" HEIGHT="53"
<div id="pagehead">
<FONT color="#ffffff"><b><bean:message key="app.logo1" /><br>
&nbsp;&nbsp;&nbsp;<bean:message key="app.logo1a" /></b></font><br>
<bean:message key="app.logo1b" />
<!-- <h4><bean:message key="app.logo2" /></h4 -->



<div id="introfield">
<div id="textcontainer" >
<bean:message key="app.logo2" />
<div align="center">
<c:if test='${requestScope["org.vsac.sso.identity.u"]}'>Welcome: <c:out

<c:out value="${sessionScope.name}" />


<div id="maincontent" align="center">
<div id="textcontainer" >

<!-- ****** to here -->
<form action="mytest.php" method="post">
<textarea name="txt1" id="txt1" style="width:100%;height:300px">
<%response.write(request("txt1"))%(this is where the error is)
<input type="submit" value="Post">
<html:errors />
<html:form action="formAuth.do" >

<p><label>Select ID: </label&nbsp;
<html:select property="personId" >
<c:forEach var="formData" items="${idmTestIdentifiers}">
<html:option value="${formData}">
<c:out value="${formData}"/>

&nbsp;&nbsp;&nbsp;<b>Or</b>&nbsp;&nbsp;&nbsp;<label>Enter ID: </label>
<html:text property="personId1" /></p>

<p><html:submit value="Submit"
onclick="document.body.style.cursor='wait'" /></p>

<!-- ****** from here -->
<jsp:include page="/bottomMenuBar.jsp" flush="true"/>

<!-- ****** to here -->

Syntax error on token "out", "=," "*=,""/=,""%=," ........ expected.

What am I missing???? I've been looking at this all morning- and am
sure I am overlooking something here...Please help! Thanks!


Sep 27 '06 #1
1 1922
JumpingOffPlace said the following on 9/27/2006 10:54 AM:
I'm hoping that the wealth of knowledge here can stop me from spinning
my wheels on this syntax error for hours. :)

Below is the code, and the error I am recieving....
Try posting a URL to the HTML code the browser receives instead of the
server side code that generates it. Then, validate that code with the
W3C validator. Then test again.

Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Andy Fish | last post by:
Hi, I want to use an anchor tag to invoke some javascript and I've read that it's bad form to use <a href="javascript:foo()"> I've read endless usenet posts and hint sites on the net, they all...
by: Alex Rast | last post by:
First of all, this is not a programming question. I'm a user, not programming in JavaScript. I'm not, however, a novice user or even a power user - I certainly know programming intimately as well...
by: Jeff S | last post by:
In a VB.NET code behind module, I build a string for a link that points to a JavaScript function. The two lines of code below show what is relevant. PopupLink = "javascript:PopUpWindow(" &...
by: ged | last post by:
Hi, i am a oo (c#) programmer, and have not used javascript for a while and i cant work out how javascript manages its references. Object References work for simple stuff, but once i have an...
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
by: John Smith | last post by:
I am using IE 6.0 from http://www.javaworld.com/javaworld/jw-07-1996/jw-07-javascript-p2.html I gather that "If you need to test a number of command lines, you can reduce the keystrokes by...
by: TJM | last post by:
Hi, A Javascript error is generated when the user types a few character in an INPUT TYPE=FILE and hits a submit button. The form does not post. Is there a solution to this problem? Thanks TJM
by: Taras_96 | last post by:
Hi everyone, We' ve come to the conclusion that we wish the user to be directed to an error page if javascript is disabled <enter comment about how a webpage shouldn't rely on javascript here :)...
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.