Created
February 5, 2015 15:19
-
-
Save bran921007/3a2ea0babe0771a89a27 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Ocultar esas imagenes: | |
$("img").error(function(){ | |
$(this).hide(); | |
}); | |
2. Reemplazar esas imágenes por una por defecto. | |
$("img").error(function() { | |
$( this ).hide(); | |
}).attr( "src", "nofoto.png" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ocultar imagenes por defecto en jquery