JSFiddle - React, Tailwind, and code Playground
HTML
<input id="options_14_text" type="text" onchange="something()" name="options[14]" value="">
JavaScript
$("options_14_text").id = "options_15_text";
$("options_14_text").writeAttribute("id", "options_15_text");