1
Si un champ est vide quand il est flou (perd le focus) Je veux supprimer une image:vérifier si un champ est vide dans jquery (js)?
Voici le code commençant:
$('#type').keyup(function(){
$('#image').show();
$("#type").blur(function() {
// i wanted to check here if #type field is empty as well before hiding?
$('#image').hide();
});
hourras cela fonctionne – getaway
vous pourriez accepter la réponse alors :) – galambalazs