I am just trying to toggle two images based on the onclick of a button.
The trick is that whatever image that is currently showing I need it to display the other one on the onclick.
I have some collapsible div's on a page with two images ("more.jpg" and "less.jpg")
You can select one div at a time to collapse or expand or you can push a button and have them all expand.
The problem is that if a user hits one div to expand it then hits the "all expand" button one of the images will be still set to "more.jpg" with the div expanded (should be less.jpg"
Is there any way to just toggle two images back and forth independently of what the other images are doing?