problems with h:graphicImage
0 posts in topic
Flat View  Flat View

Posted By:   cedric_viole
Posted On:   Tuesday, November 21, 2006 06:07 AM


i have an image and a javascript-action:

if i click on the image the picture should be changed:

if i had a simple HTML-img tag i would write something like that: document.getElementById("pic").src = "b.jpg"

unfortunately the graphicImage-tag doesn't have the src-attribute. how can i change it via java-script?

About | Sitemap | Contact