Check if an image exits.
Javascript can be used to check if an image exist. An AJAX call cannot be used, because cross-site calls are not supported. However, the javascript Image
object can be used for this purpose.
var img = new Image(); |
Javascript can be used to check if an image exist. An AJAX call cannot be used, because cross-site calls are not supported. However, the javascript Image
object can be used for this purpose.
var img = new Image(); |