Re: GetElements of TD
- From: "Praveen" <praveen@xxxxxxxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 15:54:41 +0530
is there way to give xpath condition like this
getElementsByTagName("*"[@tagName='input'])
"Daniel Kirsch" <Iwillnotread_daniel@xxxxxx> wrote in message
news:dthclv$rkm$01$1@xxxxxxxxxxxxxxxxxxxx
Praveen wrote:
getElementsByTagName("*") wont solve my issue.
I need only form elements (input,select,textarea,.....)
getElementsByTagName("*") is giving all tags(table,td,tr,</input>,...)
any way to get only form elements?
No direct.
Use the suggested script and check for the nodeName or tagName property
which should be "input", "button", "select", "option", "optgroup", "form"
or "textarea".
Daniel
.
- Follow-Ups:
- Re: GetElements of TD
- From: Martin Honnen
- Re: GetElements of TD
- References:
- GetElements of TD
- From: Praveen
- RE: GetElements of TD
- From: Kevin Yu [MSFT]
- Re: GetElements of TD
- From: Daniel Kirsch
- Re: GetElements of TD
- From: Praveen
- Re: GetElements of TD
- From: Daniel Kirsch
- GetElements of TD
- Prev by Date: Re: problem with split method
- Next by Date: Re: GetElements of TD
- Previous by thread: Re: GetElements of TD
- Next by thread: Re: GetElements of TD
- Index(es):