JSFiddle - React, Tailwind, and code Playground
HTML
<input type="hidden" name="mute_hidden" value="1" id="mute_hidden">
<button type="text" id="mute_btn">
JavaScript
$(document).ready(function() { $("#mute_btn").html($('#mute_hidden').val()); });