Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
I want to show an image on input type image panel by using javascript.
Please help me.


Md. Shawon Mahmud
Posted
Comments
CRDave1988 1-Feb-12 6:51am    
u can use image on input type without JavaScript so what exactly u want to do with JavaScript

JavaScript
yourElement.innerHTML= '<img src="imageSRC" > </img>';
 
Share this answer
 
v2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900