Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, john lee wrote: > plain html file > > 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" t

Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread john lee
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

Re: pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > plain html file > > 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.getEle

pls help - > how to use document.getElementsByTagName inside html:text

2007-04-16 Thread john lee
plain html file 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"); or