function image() { var img = document.createElement("IMG"); img.src = "/images/img1.gif"; $('#image').html(img); }