JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" name="count" id="count" data-theme="b" />
<input type="text" name="count1" id="count1" value="1" data-theme="b" />
<input type="text" name="count1" id="count1" value="1" data-theme="b" />
<input type="text" name="count1" id="count1" value="1" data-theme="b" />
<input type="radio" name="radio" value="Milk"> Milk
<input type="text" name="count1" id="count1" value="1" data-theme="b" />
<input type="submit" name="submit" id="submit" disabled="true"/>
CSS
.first{
cursor: pointer;
float: left;
padding: 0.8em 0;
border: 1px solid transparent;
border-bottom: 1px solid #666;
text-align: left;
z-index: 0;
width:80%;
}
.first:hover {
background-color: #3F464B;
}
JavaScript
$(document).ready(function(){
$("input[name=count]").on('change', function()
{
$("input[name=submit]").removeAttr("disabled").focus();
});
});