You need to find the siblings between two rows then loop through those to apply the class.
You probably need to find which child you clicked on initially keep that somewhere as number of the row in the table - then find the number of the row you are currently clicked on then you can work out the rows inbetween.
matpol
2009-12-02 08:49:52