Referencing this Fiddle ( http://jsfiddle.net/j5uGN ), how can I toggle a clicked image’s border color between #efefef and #3f96cf so that it is #efefef when the image appears to be unchecked (aka has a class of “nocheck”)? I already have a click event firing on img.check, so how do I go about chaining commands together to change a different element?
Is my question clear?
Thanks
You could do something like this:
Javascript click event:
Css:
http://jsfiddle.net/j5uGN/5/