Could someone tell me what is wrong with this function?
function imageNext(){
if ( document.part.s rc == "images/returnAdapter.g if"){
document.part.s rc = "images/valveIntake.gif ";
document.getEle mentById("c").s tyle.color = "black";
document.getEle mentById("d").s tyle.color = "red";
}
The image name attribute is "part". But the image is not changing.
Thanks, Sybil
function imageNext(){
if ( document.part.s rc == "images/returnAdapter.g if"){
document.part.s rc = "images/valveIntake.gif ";
document.getEle mentById("c").s tyle.color = "black";
document.getEle mentById("d").s tyle.color = "red";
}
The image name attribute is "part". But the image is not changing.
Thanks, Sybil
Comment