JSFiddle - React, Tailwind, and code Playground
by psoares
HTML
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/dojo/1.10.4/dijit/themes/claro/claro.css">
<input id="myInput" type="text" name="entertask" />
<div id="result"></div>
JavaScript
require([
"dojo/dom", "dojo/dom-attr", "dojo/html", "dojo/domReady!"
], function(dom, domAttr, html) {
html.set(dom.byId("result"), domAttr.has("myInput", "value"));
});