Ask a Question

first-of-type css selector

kman1523
New Contributor

first-of-type css selector

According to the website, the :first-of-type selctor should be valid. However using table.QuerySelectorAll("td:first-of-type"), where table is a valid table just results in undefined. QuerySelectorAll("td") on the same table works fine. Does anyone know what the issue is?

1 REPLY 1
kman1523
New Contributor

So upgraded to TC11 and IE11. first-of-type is still broken. Says that "li:first-of-type" is an invalid arguement. 

cancel
Showing results for 
Search instead for 
Did you mean: