JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test" num="5"></div>
<div class="test" num="15"></div>
<div class="test" num="1"></div>
<div id="result"></div>

JavaScript

jQuery("div#result").html("'.test[num=5]' found elements : " + jQuery(".test[num=5]").length);

jQuery("div#result").append("<br><br>By using the patch to support greater than:");
jQuery("div#result").append("<br>'.test[num>=1]' found elements : 3");