Answers for "onclick button border color change"

0

onclick button border color change

function clickimageone(el){
	el.style.border = "1px solid blue";
	document.getElementById("border2").className="borderorange";
}
Posted by: Guest on March-13-2021
0

onclick button border color change

.border1{
	border: 1px solid red;
}
.border2{
	border: 1px solid red;
}
.bordeorange{
	border: 1px solid orange;
}
Posted by: Guest on March-13-2021
0

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>
Posted by: Guest on March-13-2021

Code answers related to "onclick button border color change"

Browse Popular Code Answers by Language