Hi, everyone!
How do you guys change or add image border color with javascript. that is what I have now and it doesn't work.
in HTML
<td width="64"><img src="thumbnails/1.jpg" width="64" height="64" id="square0" onmouseover="borderOver();"/></td>
in Javascript
function borderOver(){
document.getElementById('square0').style.border = '#ff0000';
}
How do you guys change or add image border color with javascript. that is what I have now and it doesn't work.
in HTML
<td width="64"><img src="thumbnails/1.jpg" width="64" height="64" id="square0" onmouseover="borderOver();"/></td>
in Javascript
function borderOver(){
document.getElementById('square0').style.border = '#ff0000';
}