How can I display a random image from a file of images with JQuery, then when a link is click the image is changed to another random image.
This is the img id where the image needs to be on the load and if a link above it is picked.
<a href="#imageChange">
<img id="cap" src="" height="220px" width="530px" />