Hey everybody. I am having a very difficult time with a website I’m making for a friend. I uploaded it to [url]http://puppies.evilmouseonline.com
Here is one of the not working functions that work on other browsers. Mozilla Firefox keeps claiming that “it’s not a function”, and the error is occurring on line 1.
function mom()
{
document.getElementById(“name3”).childNodes[0].nodeValue = “Name: None”;
document.getElementById(“age3”).childNodes[0].nodeValue = “Age: ???”;
document.getElementById(“gender3”).childNodes[0].nodeValue = “Gender: Female”;
document.getElementById(“color3”).childNodes[0].nodeValue = “Color: Brown and White”;
document.getElementById(“cost3”).childNodes[0].nodeValue = “Cost: $325.00”;
document.getElementById(“comment3”).childNodes[0].nodeValue = “This dog is pure bred and trained!”;
document.getElementById(“dog3”).src = “system/images/mom-big.jpg”;
document.getElementById(“dog3”).style.visibility = “visible”;
}
Also the site passes W3C Validation for XHTML Strict. So I know it’s not a DTD issue.