JSFiddle - React, Tailwind, and code Playground

by danheberden

HTML

<div>
  <div class="foo"></div>
  <div class="foo"></div>
</div>

JavaScript

alert( $("div.foo:not(:first)").length ); // == 2 in IE
alert( $(".foo:not(:first)").length ); // == 2 in IE