JSFiddle - React, Tailwind, and code Playground

by Hüseyin BABAL

HTML

<form id="form_upload">
    <input type="text" name="text" value=""/>
    <input type="submit" name="save" value="Save"/>
</form>

JavaScript

$("#form_upload").submit(function(event) {
    event.preventDefault();
})