Re: help with JavaScript and text box.

2001-04-09 Thread Jim Richards
Try document.requisition['requisitionLines.requiredOnDate'].value = "the new value"; Alex Colic wrote: > > Hi, I have a text box mapped to a bean via: > > > > My form is called requisition. > > If I try to set the value of the text box via JavaScript I have to access > the box via

RE: help with JavaScript and text box.

2001-04-09 Thread Laine Donlan
Alex - Try using form['requisitionLines.requiredOnDate'].value = . I was having the same problem and this worked. Hope it helps Laine -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 4:26 PM To: Struts Subject: help with Java

help with JavaScript and text box.

2001-04-09 Thread Alex Colic
Hi, I have a text box mapped to a bean via: My form is called requisition. If I try to set the value of the text box via JavaScript I have to access the box via form.object or requisition.requsitionLine.requiredOnDate. JavaScript can't find the box due to the numerous '.'. Is there a way aro