Well i create one function
$(document).ready(function(){
$("input[type=submit]").attr("disabled", "disabled");
if ( $('#nome').is(":empty") ) {
alert ("verdadeiro");
}
else {
alert ("entrou no if");
$("input[type=submit]").removeAttr("disabled");
}
});
Basically when you open the page, the button is disabled, but ok. . . my problem is this.
This function runs once, then the button is never enabled and I wanted to get her to keep checking the inputs every time I typed something, so that when she had something written on all inputs, the button will be enabled