I have this script
that works fine when I just say HTML at the top, but when I use
it does not work and I don't what the problem is, can anybody out there give me a hand with this? Perhaps point me in the direction I need to go to figure this out?
Thanks,
Willie
Code:
<SCRIPT type="text/javascript" LANGUAGE="JavaScript1.2">
<!--
function showHide(childObj){
var dom = document.all[childObj].style;
if (dom.display == "none") {
dom.display = "";
} else {
dom.display = "none";
}
}
// -->
</SCRIPT>
that works fine when I just say HTML at the top, but when I use
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
it does not work and I don't what the problem is, can anybody out there give me a hand with this? Perhaps point me in the direction I need to go to figure this out?
Thanks,
Willie