I am getting EROOR in Javascript
Quote:
nptrobjmisc has no properties
CybNPHSetMisc()misc.php (line 59)
onload(load )misc.php (line 1)
[Break on this error] nptrobjmisc.style.height=cybnpheightmisc+"px";
|
I have removed the
Quote:
<script language="Javascript" type="text/javascript">
function CybNPHSetMain() {
var cybnpheightmain=Math.floor((14*($resultsnr*2))+21+ ($stylevar[cellpadding]*2));
nptrobjmain=document.getElementById("cybnpcol");
nptrobjmain.style.height=cybnpheightmain+"px";
}
</script>
|
and it is still working without that error.
By the Way I guess, scripting in <thead></thead> do not pass HTML Validity. If one need a Script he must write extra js file and put in Header a Scrip loader.