JSFiddle - React, Tailwind, and code Playground

by hescano

HTML

<table id="myTbl"><tr><td>Hello</td><td>World</td></tr></table>

JavaScript

$("#myTbl tr td:contains(World)").attr("style","color:red");