JSFiddle - React, Tailwind, and code Playground
HTML
<div class="searchControls status" ></div>
JavaScript
var status = "completed,please fix,qualified,cancel".split(',');
$('.searchControls, .status').html(status.join(','), 1);
<div class="searchControls status" ></div>
var status = "completed,please fix,qualified,cancel".split(',');
$('.searchControls, .status').html(status.join(','), 1);