JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" name="cust_id" value="666" />
<input type="text" name="phone[]" value="666" />
JavaScript
var test = $("input[name=phone[]]:eq(0)");
console.log(test);
test.css("color", "red");