Answers for "js display image from external url"

0

js display image from external url

$('#btn').on('click', function() {
    var img = $('<img />', {src : 'http://webpage.com/images/' + $('#imagename').val() +'.png'});
    img.appendTo('body');
});
Posted by: Guest on July-22-2021

Code answers related to "js display image from external url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language