You have an extra apostrophe after "ta6".
Should be:
<form name="formActivity" onSubmit="return validate(this);" method="get"
action="javascript:MM_openBrWindow('whyBeActivePrint1.asp?1=' + tt1
+ '&2=' + ta1 + '&3=' + tt2 + '&4=' + ta2 + '&5=' + tt3 + '&6=' + ta3
+ '&7=' + tt4 + '&8=' + ta4 + '&9=' + tt5 + '&10=' + ta5 + '&11=' +
tt6 + '&12=' +
ta6,'planWin','menubar=yes,scrollbars=yes,resizable=yes,width=470,height=5
00');">
Shaun
-----Original Message-----
From: Michael Robertson [mailto:mike@m...]
Sent: Tuesday, April 16, 2002 7:10 PM
To: javascript
Subject: [javascript] help with expected ')'
I'm trying to validate a form and submit results to a new window using the
code below. If I take out the querystring below it works it just doesn't
send the data of course. However when I add it I get an error that says
expected ')'. I've been toying with it can't figure out why.
Any suggestions?
<form name="formActivity" onSubmit="return validate(this)" method="get"
action="javascript:MM_openBrWindow('whyBeActivePrint1.asp?1=' + tt1
+ '&2=' + ta1 + '&3=' + tt2 + '&4=' + ta2 + '&5=' + tt3 + '&6=' + ta3
+ '&7=' + tt4 + '&8=' + ta4 + '&9=' + tt5 + '&10=' + ta5 + '&11=' +
tt6 + '&12=' +
ta6','planWin','menubar=yes,scrollbars=yes,resizable=yes,width=470,height=5
00')">
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
********************************************************************
The information contained in this email is confidential and
is intended solely for the use of the person identified and
intended as the recipient. If you are not the intended
recipient, any disclosure, copying, distribution, or taking of
any action in reliance on the contents is prohibited. If you
receive this message in error, contact the sender
immediately and delete it from your computer.
Personal e-mails are restricted by PSECU policy. As such,
PSECU specifically disclaims any responsibility or liability
for any personal information or opinions of the author
expressed in this email.
********************************************************************