I have two fields that I want to have users go back and forth between. There will be a div on the left which contains links that when clicked will change the class of the associated div on the right. How do I change the class of a div onmousedown from a different part of the page?
I plan on using onmouseout to reset the div's class which will use display: none;.