Selector issue

Selector issue

Hi all, I have the following HTML:
  1. <div class="ProjectTest">
            <table>
                <tr>
                    <th>Name</th>
                    <th>Description</th>
                    <th>Due Date</th>
                    <th>Status</th>
                    <th>Reason</th>
                    <th>More Info</th>
                </tr>
                <tr class="editing">
                    <td class="data">Sample Completed2</td>
                    <td class="data">Test such and such</td>
                    <td class="data">03/02/2010</td>
                    <td class="data">
                        <select>
                            <option>Not complete</option>
                            <option>Passed</option>
                            <option>Failed</option>
                        </select>
                    </td class="data">
                    <td class="data"><input type="text" /></td>
                    <td class="data">More info</td>
                </tr>
                <tr>
                    <td>Sample Test1</td>
                    <td>Please do a,b,c</td>
                    <td>03/01/2010</td>
                    <td>Failed</td>
                    <td>no attachments</td>
                    <td>More info</td>
                </tr>
                <tr>
                    <td>Newer Test8</td>
                    <td>Test Description</td>
                    <td>03/03/2010</td>
                    <td>Not complete</td>
                    <td></td>
                    <td>More info</td>
                </tr>
            </table>
        </div>









































I am trying to select rows that are in edit mode (with the "editing" class) and fire a function that converts them back to normal mode when focus on the row is lost.  I've tried a number of things until I eventually decided to create a separate class to identify edit mode.  Thus, my attempts have been simplified but I'm just too new to jQuery at the moment to figure this out without some help, so please lend a hand if you have any ideas.

I can do $("tr.editing").click(function() { alert('leaving'); }); and it works find but when I replace click with blur, I can't get the function to fire.  Before I added the class, I was able to select a row that isn't in edit mode with the following: $("tr").filter(":not(:has(input))").filter(":not(:has(select)).  Furthermore, I'm having difficult determining where the focus goes to and how to check if it has left that editing row.  Any ideas on accomplishing any of this would be GREATLY appreciated!

Thanks!