Hi,
I have a cell which I would like to hide with Javascript (without using CSS), I have managed this before but I keep getting the "null or not an object" error message and I have tried everything, the <td> is named "NatureCell" and its ID is the same. I have tried the following code on a Onload event and just written at the bottow of my page but neither work:
function init()
{
//document.NatureCell.style.visibility="hidden";
//NatureCell.style.display='none';
document.all.NatureCell.style.visibility="hidden";
}
I have tried several more with no luck! Thanks..
I have a cell which I would like to hide with Javascript (without using CSS), I have managed this before but I keep getting the "null or not an object" error message and I have tried everything, the <td> is named "NatureCell" and its ID is the same. I have tried the following code on a Onload event and just written at the bottow of my page but neither work:
function init()
{
//document.NatureCell.style.visibility="hidden";
//NatureCell.style.display='none';
document.all.NatureCell.style.visibility="hidden";
}
I have tried several more with no luck! Thanks..