Just keep in mind about quotes within quotes
set return1 "<FORM name="newEmp" method="post"
action="">"
shud be
set return1 "<FORM name=\"newEmp\" method=\"post\"
action=\"\">"
but if u want to use ' instead of " u will be better off.
-----Original Message-----
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf
Of deepti
Sent: Thursday, September 20, 2001 9:21 AM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] using javascript in TCL!!!
hello!
Is there anything wrong , if i wish to use javascript
in my TCL file like
described below.If i want to use all the client side
validation in this manner
,can i do?
thanx
set return1 "<FORM name="newEmp" method="post"
action="">"
append return1 "<INPUT type='hidden' name='EMP_ID'
value=$empId>
<SCRIPT>
function submitEmp() {
document.newEmp.submit()
}
</SCRIPT>
</FORM>"
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/