Matt - This is a great little demo. Just to clarify, though, the numbers that you're generating aren't really 'cellIndex', they're more like 'colIndex'; which is immensely useful, it's just not a cellIndex replacement (cellIndex has a purpose in-and-of itself).
--John On 3/11/07, Matt Kruse <[EMAIL PROTECTED]> wrote: > Beware - the cellIndex property will give misleading results if there are any > colspan's in the row, or rowspan's that intersect with the row. See > http://www.javascripttoolbox.com/temp/table_cellindex.html for an example of > the problem. > It will also always exist but be 0 in some versions of Safari. These are > things > I account for in my table lib so if you want to check out how I solve the > problem you may want to do something similar. > > Matt Kruse > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Daemach > > Sent: Saturday, March 10, 2007 5:19 PM > > To: [email protected] > > Subject: Re: [jQuery] Fastest selector for searching a single table > > column? > > > > > > > > OK the cellindex property of the td inside which the text field resided > > would > > get me the current column, at least in firefox... > > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
