dcsimg
Changing Image in tag
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Franz_bauer
Posted On:   Thursday, July 13, 2006 01:00 AM

Hi!

I want to change a image in a div when clicking a button

I've tried to use setAttribute("src","1.jpg") , but that doesn't seem to work. What is the best approach??



Thanks alot

Re: Changing Image in tag

Posted By:   Anonymous  
Posted On:   Friday, July 14, 2006 07:10 AM

see www.jsmadeeasy.com.
u can definatly get what u want.

Re: Changing Image in tag

Posted By:   WarnerJan_Veldhuis  
Posted On:   Thursday, July 13, 2006 04:14 AM

myImage.src= "url here";
About | Sitemap | Contact