JSFiddle - React, Tailwind, and code Playground
by jasongennaro
HTML
<p id="user123">one</p>
<p id="user234">two</p>
<p id="loser123">three</p>
JavaScript
$('[id*="user"]').css('background', 'red');
by jasongennaro
<p id="user123">one</p>
<p id="user234">two</p>
<p id="loser123">three</p>
$('[id*="user"]').css('background', 'red');