I know this probably is crazy but here goes anyway.
I am populating a table using JSTL. I am giving the same ID to several rows. I have put a onclick on the row also so I can verify the row ID value. Now when I fire the following it only hides the first row but I want to hide all the rows with that ID:
Originally posted by Steve Dyke: I am giving the same ID to several rows.[/CODE]
Then your markup is invalid. It will not work in any way that you can count on. Try using class names instead of ids to identify the elements to be operated upon.
Just to clarify what Bear is saying: IDs are singular, just like your bank account number, drivers license, government id number, etc. You can not have more than one element on the page with the same id.