images

+3 william appiah-dankwah · February 15, 2015
i want to place an image in javascript how do you do that? does anyone know? 

Post a Reply

Replies

- page 3
Oldest  Newest  Rating
0 william appiah-dankwah · February 16, 2015
Could you right  give me a better explanation of the code does it get used as a function or just on its own like how you have written it?
0 william appiah-dankwah · February 16, 2015
Iv never seen that code. What I mean by place is to put an image in the javascript browser 
0 Jay Tauron · February 16, 2015
What do you mean by place? You can create an image object

I = new Image();
I.src = 'path/to/pic.jpg';

Javascript

107,330 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators