tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Smith <quick...@yahoo.com>
Subject get element by long name
Date Wed, 08 Feb 2006 05:05:03 GMT
in my jsp, there is something like:

<html:text property="plateDetail.name"
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;

I think it is because there is a '.' in the name.

Any idea?

Thanks,

qq


	

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message