To fix broken images in Javascript you can use the following snippet.
Sample Javascript
$('image').error(function(){ $(this).attr('src', ‘image/no_image.png’); });
All the Code Snippets and Samples you need
To fix broken images in Javascript you can use the following snippet.
$('image').error(function(){ $(this).attr('src', ‘image/no_image.png’); });
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to fix broken images in #Javascript http://t.co/A5U0MboYd8 #js #css #php #html #programming #coding #code
RT @CodeSnippetsNET: How to fix broken images in #Javascript http://t.co/A5U0MboYd8 #js #css #php #html #programming #coding #code