Re: get element by long name

2006-02-08 Thread David Smith
I think there is some confusion regarding server-side execution versus client-side execution. code like ${plateDetailEditForm.plateDetail.name} is entirely server-side as is the plateDetailEditForm object. You are trying to access that directly from the client which can't be done. You can try t

Re: get element by long name

2006-02-08 Thread Nikola Milutinovic
--- Tony Smith <[EMAIL PROTECTED]> wrote: > in my jsp, there is something like: > > value="${plateDetailEditForm.plateDetail.name}" /> > > > How can I get this element in javascript? the > following code does not work: > > var name = > document.getElementByName("plateDetail.name").value; >

get element by long name

2006-02-07 Thread Tony Smith
in my jsp, there is something like: How can I get this element in javascript? the following code does not work: var name = document.getElementByName("plateDetail.name").value; I think it is because there is a '.' in the name. Any idea? Thanks, qq ___