I am using this code to get all the tableheads which do not have colspan. It only works in firefox and chrome, but not in IE. What is the equivalent code for IE? thanks.
$tableHeaders = $("thead th:not([colspan])", table);
I am using this code to get all the tableheads which do not have colspan. It only works in firefox and chrome, but not in IE. What is the equivalent code for IE? thanks.
$tableHeaders = $("thead th:not([colspan])", table);
Try:
$tableHeaders = $("#table_id th:not(:has(colspan))");
More: