dave, tks ur reply. when i test plain html file with input tag document.getElementsByTagName("INPUT").length>0 when i test struts html file with html:text tag document.getElementsByTagName("INPUT").length=0 any clue? tks john Dave Newton <[EMAIL PROTECTED]> wrote: --- john lee wrote: > plain html file > [input] > i can use javascript to access "input" tag by > document.getElementsByTagName("INPUT"); > > but for struts html file > > i can not use javascript to access "input" tag > by either document.getElementsByTagName("INPUT");
Why not? Do you get an error? just generates an [input] tag. d. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.