2009-08-17 8 views

Respuesta

13

Claro, el evento keyup parece una buena idea. Puede hacer algo como:

$("textarea").keyup(function() { 
    if ($(this).val().replace(/ /g, '') == '') 
    $("#id-of-button").show(); 
    else 
    $("#id-of-button").hide(); 
}); 
+0

Gracias VoteyDisciple, Me está funcionando. –

Cuestiones relacionadas