Klaus Hartl schrieb:
> maybe you can do something via the col element, but I don't know how to 
> get the relation from the cell to the column (I suspect there's 
> something like a td.column property but I'm not sure

Every cell has a cellIndex property, thus the script could be a little 
more efficient, replace

var index = $('th').index(this);

with

var index = this.cellIndex;


-- Klaus




_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to