>Using $("td.Name") should also improve the scripts performance as >well. When you use $(".Name") it will go through all tags on the page. >If the class name is on other tags as well, you could always add >another selector (e.g. $("td.Name, li.Name").
The best thing to do would be to cache those values, that way the selector never has to run again: // create global var var oCell; // when the DOM is ready, cache all the table cells $(document).ready( function (){ oCell = $("td.Name"); } ); Now you don't have to perform the $("td.Name") look up during each keystroke--which will save you a lot of processing. -Dan