JSFiddle - React, Tailwind, and code Playground

by xalvin11

HTML

<input type="button" class="button_a" value="Value" />

JavaScript

$('.button_a').each(function(){
    var decoded = $('<div/>').html('&reg;').text();
    $(this).val($(this).val() + ' ' + decoded);
});