Does anyone know a more efficient way to find the colspan of table cells in IE, specifically when it's other than 1? The current selector I'm using feels clunky. Any suggestions on how to improve this?
if (isIE) {
selector = "> tbody > tr > td[colspan*='0'],> tbody > tr > td[colspan*='11'],> tbody > tr > td [colspan*='2'],> tbody > tr > td[colspan*='3'],> tbody > tr > td[colspan*='4'],> tbody > tr > td[colspan*='5'],> tbody > tr > td[colspan*='6'],> tbody > tr > td[colspan*='7'],> tbody > tr > td[colspan*='8'],> tbody > tr > td[colspan*='9']"
isSpanned = $(tbl).find(selector).length > 0;
}