Sorry, I overlooked that this was in the HTML5 forum, I thought you meant a VFP form. Although I am not able to give you the exact code, I would call a piece of javascript code when the links are clicked. And let this js code both update the image and the caption.
>Hi Tore,
>
>OK, go here
https://exportdoc.com/documents.html .
>On the left you see a bunch of links. When you click on one of the links, the image on the right changes.
>What I want to do is add a caption below the image whose value changes when someone clicks one of the links.
>So if someone clicks say, the Airway Bill, then I want to add a caption (where it now says lcdoc_text) saying:
>"Prints both plain paper and multipart versions"
>and so on. T
>
>Luke