JSFiddle - React, Tailwind, and code Playground

by gromer

HTML

<div class="menu_creation_form">
    <input type="button" value="Clear" class="reset_form" />
    <input type="text" value="Jim" />
</div>

JavaScript

$('.reset_form').click(function() {
    $('input').not('[type="button"]').val('');
});