Creating an image
Creating an image
Hello
In javascript you can write the following to create a new image which you the can insert in your document:
var image = new Image();
image.src = "image1.jpg";
document.getElementById("div").appendChild(image);
How would you do this with jQuery?