struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: pls help - > how to use document.getElementsByTagName inside html:text
Date Mon, 16 Apr 2007 21:23:27 GMT
--- john lee <sh_thorn_bird@yahoo.com> wrote:
> plain html file
>       <input type='text' name='part'>
>       i can use javascript to access "input" tag by 
>           document.getElementsByTagName("INPUT");
>    
>   but for struts html file
>       <html:text property="part">
>      i can not use javascript to access "input" tag
> by either document.getElementsByTagName("INPUT");

Why not? Do you get an error? <html:text.../> just
generates an <input type='text'.../> tag.

d.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message