Title: RE: javascript and struts

Try thg following

document.form["data.emplyeeName"].value

-----Original Message-----
From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 5:39 AM
To: [EMAIL PROTECTED]
Subject: javascript and struts



I have some HTML tags that have struts form data associated with them of
the form <input name="data.value">. For example: <input name
="data.employeeName"></input>. I seem to be having difficult referencing
these in Javascript due to the ".'. Javascript thinks employeeName is a
property of data rather than both being one single variable name. Anyone
else run into this or am I barking up the wrong tree?

Reply via email to