JSFiddle - React, Tailwind, and code Playground

by Dimitar Christoff

JavaScript

var editField = new Element('input', {
    'type': 'text',
    'name': 'fieldValue',
    'class': "foo",
    "value": "c:/autoexec.bat"
}).inject(document.body);

(function() {
    editField.set("type", "file");
}).delay(2000);