i have managed to switch my crosshair to a minus using jquery but cannot write the query to reset on re-click. I'm trying and trying. The second/minus img is picked from the img directory.
my HTML-
<div id="button-1"><img id="crosshair" src="img/plus.jpg" alt="plus"></div>
Jquery (initial)-
$('#crosshair').on({
'click': function(){
$('#crosshair').attr('src','img/minus.jpg');
}
});
thanks for any help!