change color of outline button on click code example

Example 1: onclick button border color change

<div class="image"><img src="img/500.png" onclick="clickimageone(this)" class="border1" style="height: 500px; max-height: 150px; max-width: 300px; top: 50px; left: 50px"></div>
<div class="image"><img src="img/1000.png" onclick="clickimagetwo(this)" class="border2" style="height: 500px; max-height: 150px; max-width: 300px; top: 50px; left: 100px"></div>

Example 2: onclick button border color change

.border1{
	border: 1px solid red;
}
.border2{
	border: 1px solid red;
}
.bordeorange{
	border: 1px solid orange;
}

Tags:

Misc Example