Re: javascript and readonly in struts

2006-11-21 Thread Laurie Harper
Søren Blidorf wrote: Hi. I am trying to convert the following in to struts taglib I'm not really sure what that means. You want to convert a client-side Javascript behaviour to a server-side behaviour. What is the use case you're trying to achieve? function choose() { if (this.form.v1

Re: javascript and readonly in struts

2006-11-19 Thread Martin Gainty
Soren-- you may want to use the disabled attribute as in form.v2.disabled=true; works for me ..(I do not know if the form.v2.readonly is operational) also in the body of the code if your control is not passing any parameters use onChange="choose();" Tak, Martin -- This e-mail communication