You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Boyalla, Raveendra" <Ra...@dfa.state.ny.us> on 2002/08/22 17:33:16 UTC
How to reference a nested property text box name in JavaScript ?
Hi
My form contains a text box
<html:textbox property="address.zip"/>
when I try to use it in javascript like
alert(address.zip);
then it says address.zip undefined
It seems JavaScript doesn't like names with dots.
please help me how to get the value of address.zip in JavaScript?
Thank you
Raveendra Boyalla
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>