The following is my current JavaScript code which is not working. I'm trying to change the image.
function imgchange(a)
{
var e=document.getElementById(a);
if(e.src == "plus.png")
{
e.src = "minus.png";
}
else
{
e.src="plus.png";
}
}
srconly returns aDOMStringthough.