javascript swap images on mouseover code example
Example: javascript swap images on mouseover
function rollover(my_image)
{
my_image.src = 'images/costAnalysisBtn2.png';
}
function mouseaway(my_image)
{
my_image.src = "images/costAnalysisBtn1.png";
}
onmouseover="rollover(this)" onmouseout="mouseaway(this)"