I\'m trying to remove the loaded image from a element, but clearing or removing the src doesn\'t do it. What to do?
HTML:
Instead of showing broken image while setting "src" to "#", There is a workaround, so you can set alt attribute to the desired text:
"src"
"#"
alt
$('#thumbnialPreviewImage').attr('src', '#'); $('#thumbnialPreviewImage').attr('alt', 'Please Select Image');