JSFiddle - React, Tailwind, and code Playground
by charaf11
HTML
<form action="#">
<input type="text" />
<input type="text" />
<textarea name="" id="" cols="30" rows="10"></textarea>
</form>
<div class="img-holder"></div>
CSS
#dealerarea{
position:absolute;
width:100%;
height:96px;
top:15px;
}
#dealercards{
display: block;
margin:0 auto;width:200px;
}
JavaScript
$('input').keyup( function(){
var count=0;
$.each($('input'),function(index,value){
if (value.value!='') count++;
});
alert(count);
}
);