Search a keyword but but only on one kind of tag

M

Marc Pichouron

Hello, so first of all i would say you that i'm french so sorry for my
sitakes.
I made an application in XML/XSL which presents the people of my
company

Let me show the structure of my form :

<tr onMouseOver="this.bgColor='#ADC8E9';"
onMouseOut="this.bgColor='#F5F5F5';">
<td width="14.28%">Name1</td>
<td width="14.28%">FirstName1</td>
<td width="14.28%">Phone1</td>
</tr>
<tr onMouseOver="this.bgColor='#ADC8E9';"
onMouseOut="this.bgColor='#F5F5F5';">
<td width="14.28%">Name2</td>
<td width="14.28%">FirstName2</td>
<td width="14.28%">Phone2</td>
</tr>
<tr onMouseOver="this.bgColor='#ADC8E9';"
onMouseOut="this.bgColor='#F5F5F5';">
<td width="14.28%">Name3</td>
<td width="14.28%">FirstName3</td>
<td width="14.28%">Phone3</td>
</tr>

etc...

And in this form i want to allow user to search on the column which is
sorted. For example, if the user sort the "Name" column, they will
search on this one.

==> THERE IS MY QUESTION : HOW CAN I DO THAT ???????

i am looking for "getElementById" or getElementsById but i have many
problems !!
we can imagine that all the td for name get the same "id" or "name"
but how can i get all this "td" ???

I hope you understand my problem

thank you for your answers,

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top