You'll want to get the index of both rows. From there, you can probably accomplish it by storing the innerHTML from both rows and replacing them with each other.
I don't know what you're trying to accomplish, so you'll probably need more code to handle the child nodes of each <tr>
This may seem like a silly thing to ask, but I'm not that great at javascript and I can't find anywhere on how to simply swap two html elements (<tr>s in this case). I couldn't find anything in the YUI lib on doing it nor any help on the internet. Thought someone around here might be able to help.
Thanks!
Joey
My blog about web development.
And my site about game development.
>>> math.sqrt(-1) == joey101
True