Re: How can I refer a control in javascript which hava a "." in its name

2005-08-18 Thread Jeff Beal
> document.getElementById("subobject"); > > > Tony Smith <[EMAIL PROTECTED]> > > > > > > > > Tony Smith <[EMAIL PROTECTED]> > > 08/18/2005 01:07 PM > > Please respond to > "Struts Users

Re: How can I refer a control in javascript which hava a "." in its name

2005-08-18 Thread BHansard
  property="myobject.subobject" styleId="subobject" .../> then get the field by using document.getElementById("subobject"); Tony Smith <[EMAIL PROTECTED]> Tony Smith <[EMAIL PROTECTED]> 08/18/2005 01:07 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing

How can I refer a control in javascript which hava a "." in its name

2005-08-18 Thread Tony Smith
Hi everyone: Here is my jsp: ... ... If user change the selection in the "select", I would like to change the content of the "text". Thus, I write my change() function in javascript: