java code is compiled before the javascript is executed. Therefore your code should work fine. Regds Anant Kumar TCS Noida-2 POSL(TIGER) extn - 1040
"Namasivayam,
Sudhakar To: "Struts Users Mailing List"
<[EMAIL PROTECTED]>
(Cognizant)" cc:
<[EMAIL PROTECTED] Subject: java script + session
Attribute
izant.com>
01/14/04 04:31 PM
Please respond to
"Struts Users
Mailing List"
Hi all,
I would wat to do client side validation based on a
session attribute on a page. Should i put this value in a hidden value and
access it or can i put it directly into the java scipt code ex.
for(var i= 0; i< <%= session.getAttribute("Length") %>; i++)
{...
}
is this possible?
thanks
sudhakar
(See attached file: InterScan_Disclaimer.txt)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

